Class PasswordAuthenticationEvaluatorImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
- com.evolveum.midpoint.model.impl.security.PasswordAuthenticationEvaluatorImpl
-
- All Implemented Interfaces:
AuthenticationEvaluator<PasswordAuthenticationContext>,org.springframework.beans.factory.Aware,org.springframework.context.MessageSourceAware
@Component("passwordAuthenticationEvaluator") public class PasswordAuthenticationEvaluatorImpl extends AuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl
messages
-
-
Constructor Summary
Constructors Constructor Description PasswordAuthenticationEvaluatorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckEnteredCredentials(ConnectionEnvironment connEnv, PasswordAuthenticationContext authCtx)protected PasswordTypegetCredential(CredentialsType credentials)protected CredentialPolicyTypegetEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, PasswordAuthenticationContext authnCtx)protected booleanpasswordMatches(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, PasswordType passwordType, PasswordAuthenticationContext authCtx)protected booleansupportsActivation()protected booleansupportsAuthzCheck()protected voidvalidateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, PasswordType credential)-
Methods inherited from class com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl
authenticate, authenticateUserPreAuthenticated, checkCredentials, decryptAndMatch, getAndCheckUserPassword, getDecryptedValue, recordAuthenticationBehavior, recordAuthenticationFailure, recordAuthenticationFailure, recordPasswordAuthenticationFailure, recordPasswordAuthenticationSuccess, setMessageSource
-
-
-
-
Method Detail
-
checkEnteredCredentials
protected void checkEnteredCredentials(ConnectionEnvironment connEnv, PasswordAuthenticationContext authCtx)
- Specified by:
checkEnteredCredentialsin classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
supportsAuthzCheck
protected boolean supportsAuthzCheck()
- Specified by:
supportsAuthzCheckin classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
getCredential
protected PasswordType getCredential(CredentialsType credentials)
- Specified by:
getCredentialin classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
validateCredentialNotNull
protected void validateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull @NotNull MidPointPrincipal principal, PasswordType credential)
- Specified by:
validateCredentialNotNullin classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
passwordMatches
protected boolean passwordMatches(ConnectionEnvironment connEnv, @NotNull @NotNull MidPointPrincipal principal, PasswordType passwordType, PasswordAuthenticationContext authCtx)
- Specified by:
passwordMatchesin classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
getEffectiveCredentialPolicy
protected CredentialPolicyType getEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, PasswordAuthenticationContext authnCtx)
- Specified by:
getEffectiveCredentialPolicyin classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
supportsActivation
protected boolean supportsActivation()
- Specified by:
supportsActivationin classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
-