Log.warn("The jdbcAuthProvider.passwordType setting in invalid. Bcrypt must be the final hashType if a series is given. Ignoring all hash types beyond bcrypt: {}",passwordTypeProperty);
}
break;
}
catch(IllegalArgumentExceptioniae){
Log.error(iae.getMessage(),iae);
}
catch(IllegalArgumentExceptioniae){}
}
if(passwordTypeList.isEmpty()){
Log.warn("The jdbcAuthProvider.passwordType setting is not set or contains invalid values. Setting the type to 'plain'");
passwordTypeList.add(PasswordType.plain);
}
passwordTypes=passwordTypeList;
}
@Override
...
...
@@ -154,35 +207,64 @@ public class JDBCAuthProvider implements AuthProvider {
catch(UserNotFoundExceptionunfe){
thrownewUnauthorizedException();
}
// If the user's password doesn't match the password passed in, authentication