Package com.mastfrog.acteur.auth
Interface Authenticator
public interface Authenticator
- Author:
- Tim Boudreau
-
Method Summary
Modifier and TypeMethodDescriptionObject[]authenticate(String realm, com.mastfrog.acteur.header.entities.BasicCredentials credentials) Handles authentication, saying yea or nay.
-
Method Details
-
authenticate
Object[] authenticate(String realm, com.mastfrog.acteur.header.entities.BasicCredentials credentials) throws IOException Handles authentication, saying yea or nay.- Parameters:
realm- The Realm object used in authenticationcredentials- The credentials- Returns:
- An array of objects to inject into later acteurs if successful, null on failure
- Throws:
IOException- if something goes wrong
-