Class NonceAuthenticationEvaluatorImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
- com.evolveum.midpoint.model.impl.security.NonceAuthenticationEvaluatorImpl
-
- All Implemented Interfaces:
AuthenticationEvaluator<NonceAuthenticationContext>
,org.springframework.beans.factory.Aware
,org.springframework.context.MessageSourceAware
@Component("nonceAuthenticationEvaluator") public class NonceAuthenticationEvaluatorImpl extends AuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.model.impl.security.AuthenticationEvaluatorImpl
messages
-
-
Constructor Summary
Constructors Constructor Description NonceAuthenticationEvaluatorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkEnteredCredentials(ConnectionEnvironment connEnv, NonceAuthenticationContext authCtx)
protected NonceType
getCredential(CredentialsType credentials)
protected CredentialPolicyType
getEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, NonceAuthenticationContext authnCtx)
protected boolean
passwordMatches(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, NonceType passwordType, NonceAuthenticationContext authCtx)
protected boolean
supportsActivation()
protected boolean
supportsAuthzCheck()
protected void
validateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull MidPointPrincipal principal, NonceType 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, NonceAuthenticationContext authCtx)
- Specified by:
checkEnteredCredentials
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
supportsAuthzCheck
protected boolean supportsAuthzCheck()
- Specified by:
supportsAuthzCheck
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
getCredential
protected NonceType getCredential(CredentialsType credentials)
- Specified by:
getCredential
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
validateCredentialNotNull
protected void validateCredentialNotNull(ConnectionEnvironment connEnv, @NotNull @NotNull MidPointPrincipal principal, NonceType credential)
- Specified by:
validateCredentialNotNull
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
passwordMatches
protected boolean passwordMatches(ConnectionEnvironment connEnv, @NotNull @NotNull MidPointPrincipal principal, NonceType passwordType, NonceAuthenticationContext authCtx)
- Specified by:
passwordMatches
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
getEffectiveCredentialPolicy
protected CredentialPolicyType getEffectiveCredentialPolicy(SecurityPolicyType securityPolicy, NonceAuthenticationContext authnCtx) throws SchemaException
- Specified by:
getEffectiveCredentialPolicy
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
- Throws:
SchemaException
-
supportsActivation
protected boolean supportsActivation()
- Specified by:
supportsActivation
in classAuthenticationEvaluatorImpl<NonceType,NonceAuthenticationContext>
-
-