|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.AbstractAuthenticationManager
org.acegisecurity.MockAuthenticationManager
public class MockAuthenticationManager
Simply accepts as valid whatever is passed to it, if grantAccess is set to true.
| Constructor Summary | |
|---|---|
MockAuthenticationManager()
|
|
MockAuthenticationManager(boolean grantAccess)
|
|
| Method Summary | |
|---|---|
Authentication |
doAuthentication(Authentication authentication)
Concrete implementations of this class override this method to provide the authentication service. |
| Methods inherited from class org.acegisecurity.AbstractAuthenticationManager |
|---|
authenticate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockAuthenticationManager(boolean grantAccess)
public MockAuthenticationManager()
| Method Detail |
|---|
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(org.acegisecurity.Authentication).
doAuthentication in class AbstractAuthenticationManagerauthentication - the authentication request object
AuthenticationException - if authentication fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||