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
AbstractAuthenticationManagerConcrete implementations of this class override this method to provide the authentication service.
The contract for this method is documented in the AuthenticationManager.authenticate(Authentication).
doAuthentication in class AbstractAuthenticationManagerauthentication - the authentication request objectAuthenticationException - if authentication failsCopyright © 2016. All rights reserved.