protected abstract AuthorizationInfo buildAuthorizationInfo(AuthC4JPrincipal principal);
private HashingPasswordService getHashService() {
CredentialsMatcher matcher = getCredentialsMatcher();
if (matcher instanceof PasswordMatcher) {
PasswordMatcher passwordMatcher = (PasswordMatcher) matcher;
PasswordService passwordService = passwordMatcher.getPasswordService();
if (passwordService instanceof HashingPasswordService) {
return (HashingPasswordService) passwordService;
}
}
return null;