|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.ecm.webengine.login.WebEngineFormAuthenticator
public class WebEngineFormAuthenticator
Field Summary | |
---|---|
static java.lang.String |
LOGIN_KEY
|
Constructor Summary | |
---|---|
WebEngineFormAuthenticator()
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getUnAuthenticatedURLPrefix()
Returns the list of prefix for unauthenticated URLs, typically the URLs associated to login prompt. |
java.lang.Boolean |
handleLoginPrompt(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String baseURL)
Handles the Login Prompt. |
UserIdentificationInfo |
handleRetrieveIdentity(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
Retrieves user identification information from the request. |
void |
initPlugin(java.util.Map<java.lang.String,java.lang.String> parameters)
Initializes the Plugin from parameters set in the XML descriptor. |
static boolean |
isLoginRequest(javax.servlet.http.HttpServletRequest request)
|
java.lang.Boolean |
needLoginPrompt(javax.servlet.http.HttpServletRequest httpRequest)
Defines if the authentication plugin needs to do a login prompt. |
boolean |
onError(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the login error response. |
boolean |
onSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles login success response. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LOGIN_KEY
Constructor Detail |
---|
public WebEngineFormAuthenticator()
Method Detail |
---|
public java.lang.Boolean handleLoginPrompt(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String baseURL)
NuxeoAuthenticationPlugin
handleLoginPrompt
in interface NuxeoAuthenticationPlugin
request
- the requestresponse
- the response
public static boolean isLoginRequest(javax.servlet.http.HttpServletRequest request)
public UserIdentificationInfo handleRetrieveIdentity(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
NuxeoAuthenticationPlugin
handleRetrieveIdentity
in interface NuxeoAuthenticationPlugin
public java.lang.Boolean needLoginPrompt(javax.servlet.http.HttpServletRequest httpRequest)
NuxeoAuthenticationPlugin
needLoginPrompt
in interface NuxeoAuthenticationPlugin
public void initPlugin(java.util.Map<java.lang.String,java.lang.String> parameters)
NuxeoAuthenticationPlugin
initPlugin
in interface NuxeoAuthenticationPlugin
public java.util.List<java.lang.String> getUnAuthenticatedURLPrefix()
NuxeoAuthenticationPlugin
getUnAuthenticatedURLPrefix
in interface NuxeoAuthenticationPlugin
public boolean onError(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
LoginResponseHandler
onError
in interface LoginResponseHandler
request
- the http requestresponse
- the http response
public boolean onSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
LoginResponseHandler
onSuccess
in interface LoginResponseHandler
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |