| org.jboss.test.web.security.authenticators.HeaderAuthenticator
HeaderAuthenticator | public class HeaderAuthenticator extends AuthenticatorBase (Code) | | Test Authenticator that can authenticate based on headers.
username = JBOSS_TEST_USER_NAME
credential = JBOSS_TEST_CREDENTIAL
author: Anil Saldhana since: Mar 6, 2006 version: $Revision: 57211 $ |
Method Summary | |
protected boolean | authenticate(Request request, Response response, LoginConfig config) Authenticate the user making this request, based on the specified
login configuration. |
HeaderAuthenticator | public HeaderAuthenticator()(Code) | | Create a new HeaderAuthenticator.
|
authenticate | protected boolean authenticate(Request request, Response response, LoginConfig config) throws IOException(Code) | | Authenticate the user making this request, based on the specified
login configuration. Return true if any specified
constraint has been satisfied, or false if we have
created a response challenge already.
Parameters: request - Request we are processing Parameters: response - Response we are creating Parameters: config - Login configuration describing how authenticationshould be performed exception: IOException - if an input/output error occurs |
|
|