public class MockAuthenticationManager extends AbstractAuthenticationManager
grantAccess is set to true.| Constructor and Description |
|---|
MockAuthenticationManager() |
MockAuthenticationManager(boolean grantAccess) |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
doAuthentication(Authentication authentication)
Concrete implementations of this class override this method to provide the authentication service.
|
authenticate, setClearExtraInformationpublic MockAuthenticationManager(boolean grantAccess)
public MockAuthenticationManager()
public Authentication doAuthentication(Authentication authentication) throws AuthenticationException
AbstractAuthenticationManager
The contract for this method is documented in the
AuthenticationManager.authenticate(Authentication).
doAuthentication in class AbstractAuthenticationManagerauthentication - the authentication request objectAuthenticationException - if authentication fails