|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthenticationProvider
A provider to handle the authentication of HttpServletRequests.
May implement a specific authentication scheme.
| Method Summary | |
|---|---|
void |
augmentResponseByAuthenticationChallenge(javax.servlet.http.HttpServletResponse response,
ProcessEngine engine)
Callback to add an authentication challenge to the response to the client. |
AuthenticationResult |
extractAuthenticatedUser(javax.servlet.http.HttpServletRequest request,
ProcessEngine engine)
Checks the request for authentication. |
| Method Detail |
|---|
AuthenticationResult extractAuthenticatedUser(javax.servlet.http.HttpServletRequest request,
ProcessEngine engine)
AuthenticationResult that indicates, whether
authentication was successful, and, if true, always provides the authenticated user.
request - the request to authenticateengine - the process engine the request addresses. May be used to authenticate against the engine's identity service.
void augmentResponseByAuthenticationChallenge(javax.servlet.http.HttpServletResponse response,
ProcessEngine engine)
Callback to add an authentication challenge to the response to the client. Called in case of unsuccessful authentication.
For example, a Http Basic auth implementation may set the WWW-Authenticate header to Basic realm="engine name".
request - the response to augmentengine - the process engine the request addressed. May be considered as an authentication realm to create a specific authentication
challenge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||