|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthenticationHandler
Initiate an authentication for the given HTTP request. Implementations are responsible to detect whether the request contains any known authentication data and perform the authentication if needed.
Method Summary | |
---|---|
LoginContext |
handleAuthentication(HttpServletRequest request,
HttpServletResponse response)
Handle the authentication if the request contains any known authentication data. |
void |
init(Map<String,String> properties)
Initialize this handler given a property map. |
Method Detail |
---|
void init(Map<String,String> properties)
properties
- LoginContext handleAuthentication(HttpServletRequest request, HttpServletResponse response) throws LoginException
LoginException
and the implementation must
finish the request by correctly responding to the client or redirecting
to another page - through the given response object.
request
- the http requestresponse
- the http response
LoginException
- if authentication failed.
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |