Project

General

Profile

Actions

Defect #2453

open

Server error during a user registration, because is not possible to set a password policy.

Added by David Štekl over 4 years ago. Updated over 4 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Marek Klement
Target version:
Start date:
08/25/2020
Due date:
% Done:

0%

Estimated time:
Affected versions:
Owner:

Description

Is not possible to register a new user with properties idm.sec.reg.passwordPolicy="policy Name", idm.pub.reg.passwordInputEnabled=true and idm.pub.reg.attributes.password.attr="password".
Registration works and use default policy only after setting a property idm.pub.reg.passwordInputEnabled=false.

Error:
Forbidden. ({path=/idm/api/v1/authentication/remote-auth, message=Access Denied})
2020-08-25 14:11:21.891 ERROR 89245049 --- [ajp-nio-127.0.0.1-8009-exec-1] e.b.i.c.e.ExceptionControllerAdvice.handle : [3de26996-7c70-4009-a785-ee725e351a26]
java.lang.NullPointerException: null
at eu.bcvsolutions.idm.core.model.service.impl.DefaultIdmPasswordPolicyService.enhancedControlForSimilar(DefaultIdmPasswordPolicyService.java:614)
at eu.bcvsolutions.idm.core.model.service.impl.DefaultIdmPasswordPolicyService.validate(DefaultIdmPasswordPolicyService.java:494)
at eu.bcvsolutions.idm.core.model.service.impl.DefaultIdmPasswordPolicyService.validate(DefaultIdmPasswordPolicyService.java:211)
at eu.bcvsolutions.idm.core.model.service.impl.DefaultIdmPasswordPolicyService.validate(DefaultIdmPasswordPolicyService.java:206)
at eu.bcvsolutions.idm.core.model.service.impl.DefaultIdmPasswordPolicyService$$FastClassBySpringCGLIB$$f90f724f.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)

Actions

Also available in: Atom PDF