net.craftforge.essential.controller.handlers
Interface AuthenticationHandler
- All Known Implementing Classes:
- MockAuthenticationHandler
public interface AuthenticationHandler
An authentication handler authenticates a request using the request setup. An implementation may
for example compare the authorization header contents with credentials from a database.
- Since:
- 22.05.2011
- Author:
- Christian Bick
|
Method Summary |
boolean |
authenticate(Setup setup)
Authenticates a requester using the request setup. |
authenticate
boolean authenticate(Setup setup)
- Authenticates a requester using the request setup.
- Parameters:
setup - The request setup
- Returns:
- whether the requester could be authenticated or not
Copyright © 2011. All Rights Reserved.