[SWS-635] - set the root exception when authentication fails.
This commit is contained in:
@@ -86,7 +86,7 @@ public class SpringPlainTextPasswordValidationCallbackHandler extends AbstractWs
|
||||
}
|
||||
SecurityContextHolder.clearContext();
|
||||
if (!ignoreFailure) {
|
||||
throw new WSSecurityException(WSSecurityException.FAILED_AUTHENTICATION);
|
||||
throw new WSSecurityException(WSSecurityException.FAILED_AUTHENTICATION, null, null, failed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user