-
Bug
-
Resolution: Fixed
-
Medium
-
None
From a Crowd support case:
"I have a given a regular expression for the directory where all these users are imported. Now after integration with crowd When I try to reset the password of a confluence user in confluence with invalid conditions( not according to regular expression given), Then I get the following exception with confluence System error page being displayed."
Cause:
com.atlassian.user.EntityException: Fault: com.atlassian.crowd.integration.exception.InvalidCredentialException: Fault: com.atlassian.crowd.integration.exception.InvalidCredentialException
at com.atlassian.crowd.integration.atlassianuser.CrowdUserManager.alterPassword(CrowdUserManager.java:170)
caused by: com.atlassian.crowd.integration.exception.InvalidCredentialException: Fault: com.atlassian.crowd.integration.exception.InvalidCredentialException: Fault: com.atlassian.crowd.integration.exception.InvalidCredentialException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
caused by: org.codehaus.xfire.fault.XFireFault: Fault: com.atlassian.crowd.integration.exception.InvalidCredentialException
at org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31)
—
Suggested fix:
1. Add a new subclass of EntityException called InvalidPasswordException
2. Throw InvalidPasswordException from CrowdUserManager.alterPassword()
3. Modify bucket's DefaultUserAccessor to rethrow InvalidPasswordException
4. Catch InvalidPasswordException in Confluence's ChangeUserPasswordAction and display a meaningful error message to the user.
- relates to
-
CONFSERVER-8211 Reset password functionality does not always generate valid passwords with Crowd integration
-
- Closed
-
[CONFSERVER-8078] Error page if new password doesn't match Crowd password validation
Workflow | Original: JAC Bug Workflow v3 [ 2898214 ] | New: CONFSERVER Bug Workflow v4 [ 2992782 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2790339 ] | New: JAC Bug Workflow v3 [ 2898214 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2720202 ] | New: JAC Bug Workflow v2 [ 2790339 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2394315 ] | New: JAC Bug Workflow [ 2720202 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2289726 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2394315 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2228004 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2289726 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2183995 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2228004 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1952515 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2183995 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1745651 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1952515 ] |
Labels | Original: crowd-integration external-user-management users&groups | New: affects-server crowd-integration external-user-management users&groups |