|
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 |
java.lang.Object
oracle.security.jazn.collector.oc4j.TokenCollectorImpl
This is an abstract class of Token Collector. It provides the most basic implementation of the token collector interface. The abstract method(s) must be implemented by the concrete class. Based on the token type passed, it will return the appropriate token to OC4J.
Constructor Summary | |
TokenCollectorImpl() |
Method Summary | |
abstract 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TokenCollectorImpl()
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
getToken
in interface TokenCollector
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 abstract void fail(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, int reason) throws CollectorException
fail
in interface TokenCollector
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 |