Project

General

Profile

Defect #2453

Updated by Marek Klement over 4 years ago

Is not possible to register a new user with properties idm.sec.reg.passwordPolicy="policy Name", idm.pub.reg.passwordInputEnabled=true Name" and idm.pub.reg.attributes.password.attr="password". idm.pub.reg.passwordInputEnabled=true. 
 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)

Back