oracle.jbo.http
Class OCISessionCookieFactory
java.lang.Object
oracle.jbo.http.OCISessionCookieFactory
- All Implemented Interfaces:
- SessionCookieFactory
- public class OCISessionCookieFactory
- extends java.lang.Object
- implements SessionCookieFactory
An OCISessionCookieFactory. This SessionCookieFactory will
instantiate a OCIEnvInfoProvider
instance and associate that EnvInfoProvider with each SessionCookie
which is created.
In order to use the OCISessionCookieFactory please set the
framework property, jbo.ampool.sessioncookiefactoryclass. For example,
-Djbo.ampool.sessioncookiefactoryclass=oracle.jbo.http.OCISessionCookieFactory
This class assumes that the application has stored the OCI proxy username
and possibly the proxy password in the HttpSession context. It looks
for these values in the session context with the oracle.jbo.client.Configuration.DB_USERNAME_PROPERTY
and oracle.jbo.client.Configuration.DB_PASSWORD_PROPERTY
respectively.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OCISessionCookieFactory
public OCISessionCookieFactory()
createSessionCookie
public SessionCookie createSessionCookie(java.lang.String name,
java.lang.String value,
ApplicationPool pool,
java.util.Properties properties)
- Description copied from interface:
SessionCookieFactory
- Creates a SessionCookie instance.
- Specified by:
createSessionCookie
in interface SessionCookieFactory
- Parameters:
name
- an identifier which may be used to uniquely
identify this cookie within the context of a session
value
- an option identifier which may be used to uniquely
identify this cookie across sessions.
pool
- the applicationPool instance which will be used to acquire
ApplicationModule instances for this SessionCookie.
properties
- an optional properties object which may be used
to pass additional creation properties to the SessionCookieFactory.
Copyright © 1997, 2004, Oracle. All rights reserved.