KEYCLOAK-2811 FederationProvidersIntegrationTest.testReadOnly failing on MSAD

This commit is contained in:
mposolda committed 2016-04-13 12:40:39 +02:00
1 parent 7bcd954e91
commit df1c111a72
1 file changed
+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()) {