|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StepUpAuthHandler
This is the plug-point for custom step up handler implementations. The object is instantiated as a singleton and is supposed to be thread safe. NOTE: This API may only be used in the scope of an HTTP request in WebSphere Portal, i.e. within a theme. The API can not be invoked directly by a custom servlet.
This interface is designed to be implemented by clients. |
Method Summary | |
---|---|
java.lang.String |
establishAuthLevel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method is responsible for establishing the authentication level that is associated with this step-up authentication handler implementation. If this step requires sending an HTTP redirect, the redirect URL has to be passed to the caller as return value of this method. |
void |
init(AuthLevelConfig config)
This method initializes the singleton instance of this step-up authentication level handler. |
Method Detail |
---|
void init(AuthLevelConfig config) throws SecurityException
config
- The configuraiton provided for the step-up authentication
level handler
SecurityException
- If an unrecoverable problem occurs.java.lang.String establishAuthLevel(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws SecurityException
null
, no redirect will be triggered
and the authentication level is assumed to be successfully established.
In this case (and only in this case) request processing is continued.
request
- The current request.response
- The current response.
null
.
SecurityException
- If an unrecoverable problem occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |