[midPoint] password storage method "hash" and users with empty password

Marco Benucci m.benucci at nsr.it
Fri Jan 12 09:50:00 CET 2018


Hi,

we are running midpoint 3.6 and we would like to switch the password 
storage method from enrcyption to hash.
Now, if we create a new user with an empty password from the gui, we got 
this error:

java.lang.IllegalStateException: Subresult 
com.evolveum.midpoint.model.impl.lens.ChangeExecutor.execute of 
operation com.evolveum.midpoint.model.api.ModelService.executeChanges is 
still UNKNOWN during cleanup; during handling of exception 
java.lang.NullPointerException
     at 
com.evolveum.midpoint.schema.result.OperationResult.cleanupResult(OperationResult.java:1277)
     at 
com.evolveum.midpoint.model.impl.controller.ModelUtils.recordFatalError(ModelUtils.java:75)
     at 
com.evolveum.midpoint.model.impl.controller.ModelUtils.recordFatalError(ModelUtils.java:66)
     at 
com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:596)
     at sun.reflect.GeneratedMethodAccessor1772.invoke(Unknown Source)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:498)
     at 
org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507)
     at com.sun.proxy.$Proxy166.executeChanges(Unknown Source)
     at 
com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187)
     at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
     at 
com.evolveum.midpoint.model.impl.lens.projector.credentials.CredentialsProcessor.transformFocusExectionDeltaCredential(CredentialsProcessor.java:232)
     at 
com.evolveum.midpoint.model.impl.lens.projector.credentials.CredentialsProcessor.transformFocusExectionDelta(CredentialsProcessor.java:207)
     at 
com.evolveum.midpoint.model.impl.lens.ChangeExecutor.executeChanges(ChangeExecutor.java:187)
     at 
com.evolveum.midpoint.model.impl.lens.Clockwork.lambda$processSecondary$0(Clockwork.java:481)
     at 
com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1253)
     at 
com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1240)
     at 
com.evolveum.midpoint.model.impl.lens.Clockwork.processSecondary(Clockwork.java:479)
     at 
com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:327)
     at 
com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:203)
     at 
com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:569)

with encryption method this error does not happen and one can create a 
new user from the gui without add the password.

Is this a bug?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180112/967f13e1/attachment.htm>


More information about the midPoint mailing list