|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractAuthenticationFormServlet
provides a basic
implementation of a simple servlet to render a login form for authentication
purposes.AbstractAuthenticationHandler
implements the
AuthenticationHandler
interface and extends the
DefaultAuthenticationFeedbackHandler
providing some helper methods
which may be used by authentication handlers.AuthenticationHandler
.
authInfo
map.
AuthenticationFeedbackHandler
may be implemented by
AuthenticationHandler
services to request being informed on the
success or failure of authentication.AuthenticationHandler
interface defines the service API used
by the authentication implementation to support plugin various ways of
extracting credentials from the request.AuthenticationHandler
insteadAuthenticationInfo
conveys any authentication credentials
and/or details extracted by the
AuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
method from the request.AuthenticationHandler
AuthenticationInfo.AuthenticationInfo(String, Credentials, String)
method would be
called with a null
workspace name.
authInfo
map.
DefaultAuthenticationFeedbackHandler.handleRedirect(HttpServletRequest, HttpServletResponse)
method
to optionally redirect the request after successful authentication.
AuthenticationSupport
provides the service API used to
implement the HttpContext.handleSecurity
method as defined in
the OSGi Http Service specification.AuthenticationSupport
insteadAuthenticationInfo.AUTH_TYPE
property.
AuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
method to inform the caller, that a response has been sent to the client
to request for credentials.
AuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
method to indicate an ongoing authentication transaction.
AuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
method to inform the caller that credential extraction failed for some
reason.
AuthenticationInfo.AUTH_TYPE
property
in this map.
Class.getResourceAsStream
.
Class.getResourceAsStream
.
ResourceResolverFactory.PASSWORD
property or
null
if the password is not set in this map.
j_reason
request parameter.
resource
request parameter.
ResourceResolverFactory.USER
property or
null
if the user is not set in this map.
true
if the request has been redirected.
HttpContext
instance extracting credentials from the request
using any registered
AuthenticationHandler
services.
AuthenticationHandler
for the given request and call its
AuthenticationHandler.requestAuthentication(HttpServletRequest, HttpServletResponse)
method to initiate an authentication process with the client to login to
Sling.
Authenticator
key
to a new
value
.
key
and returns its former
value (if existing).
AuthenticationSupport.handleSecurity(HttpServletRequest, HttpServletResponse)
method
if authentication succeeds and true
is returned.
type
if
authentication will be requested through
AuthenticationHandler.requestCredentials(HttpServletRequest, HttpServletResponse)
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |