|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthLevelVerifier
This is the plug point for plugin a custom authentication level verifier. 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 | |
---|---|
void |
init(AuthLevelConfig config)
This method initializes the singleton instance of this authentication level verifier. |
boolean |
verifyAuthLevel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Verifies whether the current request satisfies the requirements of this authentication level verifier implementation. |
Method Detail |
---|
void init(AuthLevelConfig config) throws SecurityException
config
- The configuration provided for the authentication level
verifier.
SecurityException
- If an unrecoverable problem occurs.boolean verifyAuthLevel(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws SecurityException
true
, if the associated authentication level is
verified successfully,false
, if the associated authentication level is not
verified successfully.
request
- The currently request.response
- The current response.
boolean
to indicate whether the authentication
level verification succeeded.
SecurityException
- If an unrecoverable problem occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |