org.eclipse.jetty.security.authentication
Class BasicAuthenticator

java.lang.Object
  extended by org.eclipse.jetty.security.authentication.LoginAuthenticator
      extended by org.eclipse.jetty.security.authentication.BasicAuthenticator
All Implemented Interfaces:
Authenticator

public class BasicAuthenticator
extends LoginAuthenticator

Version:
$Rev: 4793 $ $Date: 2009-03-19 00:00:01 +0100 (Thu, 19 Mar 2009) $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jetty.security.Authenticator
Authenticator.Configuration, Authenticator.Factory
 
Field Summary
 
Fields inherited from class org.eclipse.jetty.security.authentication.LoginAuthenticator
_identityService, _loginService
 
Constructor Summary
BasicAuthenticator()
           
 
Method Summary
 String getAuthMethod()
           
 Authentication.Status secureResponse(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, boolean mandatory, Authentication validatedUser)
           
 Authentication validateRequest(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, boolean mandatory)
           
 
Methods inherited from class org.eclipse.jetty.security.authentication.LoginAuthenticator
getLoginService, setConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAuthenticator

public BasicAuthenticator()
Parameters:
loginService -
Method Detail

getAuthMethod

public String getAuthMethod()
See Also:
Authenticator.getAuthMethod()

validateRequest

public Authentication validateRequest(javax.servlet.ServletRequest req,
                                      javax.servlet.ServletResponse res,
                                      boolean mandatory)
                               throws ServerAuthException
Throws:
ServerAuthException
See Also:
Authenticator.validateRequest(javax.servlet.ServletRequest, javax.servlet.ServletResponse, boolean)

secureResponse

public Authentication.Status secureResponse(javax.servlet.ServletRequest req,
                                            javax.servlet.ServletResponse res,
                                            boolean mandatory,
                                            Authentication validatedUser)
                                     throws ServerAuthException
Throws:
ServerAuthException


Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.