|
Oracle Containers for J2EE Security Java API Reference 10g Release 3 (10.1.3.1.0) B32115-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
User must implement this interface for any custom collection machanism implementation.
Method Summary | |
void |
fail(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, int reason) This method will be called when the required token is not found in the HttpRequest object while accessing the getToken method. |
IdentityToken |
getToken(java.lang.String tokenType, javax.servlet.http.HttpServletRequest request, java.util.List tokenNames, java.util.Properties properties) This method will be called by OC4J with an appropriate token type, request object and properties This method will create the appropriate token and return to the OC4J. |
Method Detail |
public IdentityToken getToken(java.lang.String tokenType, javax.servlet.http.HttpServletRequest request, java.util.List tokenNames, java.util.Properties properties) throws CollectorException, TokenNotFoundException
tokenType
- Valid token types are HTTP_COOKIE, HTTP_HEADER or HTTP_REQUESTrequest
- The HTTP Servlet Request ObjecttokenNames
- This is the list of all the header token names configured in the config fileproperties
- This is the list of custom properties defined in the config fileCollectorException
TokenNotFoundException
public void fail(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, int reason) throws CollectorException
request
- The OC4J Http servlet request objectresponse
- The OC4J Http response objectreason
- The reason for failure. One of the IdmAuthenticator values.CollectorException
|
Oracle Containers for J2EE Security Java API Reference 10g Release 3 (10.1.3.1.0) B32115-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |