Package com.evolveum.midpoint.model.api
Interface AuthenticationEvaluator<T extends AbstractAuthenticationContext>
-
public interface AuthenticationEvaluator<T extends AbstractAuthenticationContext>
- Author:
- semancik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.security.authentication.UsernamePasswordAuthenticationToken
authenticate(com.evolveum.midpoint.security.api.ConnectionEnvironment connEnv, T authnCtx)
org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken
authenticateUserPreAuthenticated(com.evolveum.midpoint.security.api.ConnectionEnvironment connEnv, AbstractAuthenticationContext authnCtx)
@NotNull FocusType
checkCredentials(com.evolveum.midpoint.security.api.ConnectionEnvironment connEnv, T authnCtx)
-
-
-
Method Detail
-
authenticate
org.springframework.security.authentication.UsernamePasswordAuthenticationToken authenticate(com.evolveum.midpoint.security.api.ConnectionEnvironment connEnv, T authnCtx) throws org.springframework.security.authentication.BadCredentialsException, org.springframework.security.authentication.AuthenticationCredentialsNotFoundException, org.springframework.security.authentication.DisabledException, org.springframework.security.authentication.LockedException, org.springframework.security.authentication.CredentialsExpiredException, org.springframework.security.authentication.AuthenticationServiceException, org.springframework.security.access.AccessDeniedException, org.springframework.security.core.userdetails.UsernameNotFoundException
- Throws:
org.springframework.security.authentication.BadCredentialsException
org.springframework.security.authentication.AuthenticationCredentialsNotFoundException
org.springframework.security.authentication.DisabledException
org.springframework.security.authentication.LockedException
org.springframework.security.authentication.CredentialsExpiredException
org.springframework.security.authentication.AuthenticationServiceException
org.springframework.security.access.AccessDeniedException
org.springframework.security.core.userdetails.UsernameNotFoundException
-
checkCredentials
@NotNull @NotNull FocusType checkCredentials(com.evolveum.midpoint.security.api.ConnectionEnvironment connEnv, T authnCtx) throws org.springframework.security.authentication.BadCredentialsException, org.springframework.security.authentication.AuthenticationCredentialsNotFoundException, org.springframework.security.authentication.DisabledException, org.springframework.security.authentication.LockedException, org.springframework.security.authentication.CredentialsExpiredException, org.springframework.security.authentication.AuthenticationServiceException, org.springframework.security.access.AccessDeniedException, org.springframework.security.core.userdetails.UsernameNotFoundException
- Throws:
org.springframework.security.authentication.BadCredentialsException
org.springframework.security.authentication.AuthenticationCredentialsNotFoundException
org.springframework.security.authentication.DisabledException
org.springframework.security.authentication.LockedException
org.springframework.security.authentication.CredentialsExpiredException
org.springframework.security.authentication.AuthenticationServiceException
org.springframework.security.access.AccessDeniedException
org.springframework.security.core.userdetails.UsernameNotFoundException
-
authenticateUserPreAuthenticated
org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken authenticateUserPreAuthenticated(com.evolveum.midpoint.security.api.ConnectionEnvironment connEnv, AbstractAuthenticationContext authnCtx) throws org.springframework.security.authentication.DisabledException, org.springframework.security.authentication.AuthenticationServiceException, org.springframework.security.core.userdetails.UsernameNotFoundException
- Throws:
org.springframework.security.authentication.DisabledException
org.springframework.security.authentication.AuthenticationServiceException
org.springframework.security.core.userdetails.UsernameNotFoundException
-
-