@Component(value="authenticationEvaluator") public class AuthenticationEvaluatorImpl extends Object implements AuthenticationEvaluator
Constructor and Description |
---|
AuthenticationEvaluatorImpl() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.authentication.UsernamePasswordAuthenticationToken |
authenticateUserPassword(ConnectionEnvironment connEnv,
String enteredUsername,
String enteredPassword) |
org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken |
authenticateUserPreAuthenticated(ConnectionEnvironment connEnv,
String enteredUsername) |
String |
getAndCheckUserPassword(ConnectionEnvironment connEnv,
String enteredUsername)
Special-purpose method used for Web Service authentication based on javax.security callbacks.
|
public org.springframework.security.authentication.UsernamePasswordAuthenticationToken authenticateUserPassword(ConnectionEnvironment connEnv, String enteredUsername, String enteredPassword) 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
authenticateUserPassword
in interface AuthenticationEvaluator
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
public String getAndCheckUserPassword(ConnectionEnvironment connEnv, String enteredUsername) throws 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
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
public org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken authenticateUserPreAuthenticated(ConnectionEnvironment connEnv, String enteredUsername)
authenticateUserPreAuthenticated
in interface AuthenticationEvaluator
Copyright © 2016 evolveum. All rights reserved.