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, setClearExtraInformation
public 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 AbstractAuthenticationManager
authentication
- the authentication request objectAuthenticationException
- if authentication fails