KEYCLOAK-2811 FederationProvidersIntegrationTest.testReadOnly failing on MSAD
This commit is contained in:
1 parent
7bcd954e91
commit
df1c111a72
1 file changed
+4
+4
@@ -117,6 +117,10 @@ public class MSADUserAccountControlMapper extends AbstractLDAPFederationMapper {
|
||||
|
||||
|
||||
protected ModelException processFailedPasswordUpdateException(ModelException e) {
|
||||
if (e.getCause() == null || e.getCause().getMessage() == null) {
|
||||
return e;
|
||||
}
|
||||
|
||||
String exceptionMessage = e.getCause().getMessage().replace('\n', ' ');
|
||||
Matcher m = AUTH_INVALID_NEW_PASSWORD.matcher(exceptionMessage);
|
||||
if (m.matches()) {
|
||||
|
||||
Reference in new issue
Block a user