|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TokenCollector
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 |
---|
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 COOKIE_TOKEN, HEADER_TOKEN, REQUEST_TOKEN or CUSTOM_TOKENrequest
- 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
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 Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |