net.craftforge.essential.testsuite.environment.mocks
Class MockAuthenticationHandler
java.lang.Object
net.craftforge.essential.testsuite.environment.mocks.MockAuthenticationHandler
- All Implemented Interfaces:
- AuthenticationHandler
public class MockAuthenticationHandler
- extends Object
- implements AuthenticationHandler
- Since:
- 23.05.2011
- Author:
- Christian Bick
|
Method Summary |
boolean |
authenticate(Setup setup)
Authenticates a requester using the request setup. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockAuthenticationHandler
public MockAuthenticationHandler()
authenticate
public boolean authenticate(Setup setup)
- Description copied from interface:
AuthenticationHandler
- Authenticates a requester using the request setup.
- Specified by:
authenticate in interface AuthenticationHandler
- Parameters:
setup - The request setup
- Returns:
- whether the requester could be authenticated or not
Copyright © 2011. All Rights Reserved.