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 void
checkEnteredCredentials(ConnectionEnvironment connEnv, PasswordAuthenticationContext authCtx)
protected PasswordType
getCredential(CredentialsType credentials)
protected CredentialPolicyType
getEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, PasswordAuthenticationContext authnCtx)
protected boolean
passwordMatches(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, PasswordType passwordType, PasswordAuthenticationContext authCtx)
protected boolean
supportsActivation()
protected boolean
supportsAuthzCheck()
protected void
validateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, PasswordType credential)
-
Methods inherited from class com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl
authenticate, authenticateUserPreAuthenticated, checkCredentials, decryptAndMatch, getAndCheckPrincipal, getAndCheckUserPassword, getDecryptedValue, hasAnyAuthorization, recordAuthenticationBehavior, recordAuthenticationFailure, recordAuthenticationFailure, recordPasswordAuthenticationSuccess, setMessageSource
-
-
-
-
Method Detail
-
checkEnteredCredentials
protected void checkEnteredCredentials(ConnectionEnvironment connEnv, PasswordAuthenticationContext authCtx)
- Specified by:
checkEnteredCredentials
in classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
supportsAuthzCheck
protected boolean supportsAuthzCheck()
- Specified by:
supportsAuthzCheck
in classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
getCredential
protected PasswordType getCredential(CredentialsType credentials)
- Specified by:
getCredential
in classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
validateCredentialNotNull
protected void validateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull @NotNull MidPointPrincipal principal, PasswordType credential)
- Specified by:
validateCredentialNotNull
in classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
passwordMatches
protected boolean passwordMatches(ConnectionEnvironment connEnv, @NotNull @NotNull MidPointPrincipal principal, PasswordType passwordType, PasswordAuthenticationContext authCtx)
- Specified by:
passwordMatches
in classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
getEffectiveCredentialPolicy
protected CredentialPolicyType getEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, PasswordAuthenticationContext authnCtx)
- Specified by:
getEffectiveCredentialPolicy
in classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
supportsActivation
protected boolean supportsActivation()
- Specified by:
supportsActivation
in classAuthenticationEvaluatorImpl<PasswordType,PasswordAuthenticationContext>
-
-