|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jetty.security.authentication.LoginAuthenticator
org.eclipse.jetty.security.authentication.BasicAuthenticator
public class BasicAuthenticator
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.jetty.security.Authenticator |
---|
Authenticator.AuthConfiguration, Authenticator.Factory |
Field Summary |
---|
Fields inherited from class org.eclipse.jetty.security.authentication.LoginAuthenticator |
---|
_deferred, _identityService, _loginService, SESSION_SECURED |
Constructor Summary | |
---|---|
BasicAuthenticator()
|
Method Summary | |
---|---|
java.lang.String |
getAuthMethod()
|
boolean |
secureResponse(ServletRequest req,
ServletResponse res,
boolean mandatory,
Authentication.User validatedUser)
|
Authentication |
validateRequest(ServletRequest req,
ServletResponse res,
boolean mandatory)
Validate a response |
Methods inherited from class org.eclipse.jetty.security.authentication.LoginAuthenticator |
---|
getLoginService, renewSessionOnAuthentication, setConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicAuthenticator()
Method Detail |
---|
public java.lang.String getAuthMethod()
Authenticator.getAuthMethod()
public Authentication validateRequest(ServletRequest req, ServletResponse res, boolean mandatory) throws ServerAuthException
Authenticator
req
- The requestres
- The responsemandatory
- True if authentication is mandatory.
Authentication.User
. If a response has
been sent by the Authenticator (which can be done for both successful and unsuccessful authentications), then the result will
implement Authentication.ResponseSent
. If Authentication is not manditory, then a
Authentication.Deferred
may be returned.
ServerAuthException
Authenticator.validateRequest(javax.servlet.ServletRequest, javax.servlet.ServletResponse, boolean)
public boolean secureResponse(ServletRequest req, ServletResponse res, boolean mandatory, Authentication.User validatedUser) throws ServerAuthException
ServerAuthException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |