|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.remoteservices.provider.InitialPlatformContext
Class used as a starting point to gain the platform's context. This class will front-end the platform's specific implementation. By either passing the full class name of the platform implementation, or by specifying the full class name in the platformcontext.properties file, this class will instantiate the correct implementation to be used in an implementation independent interface.
Notifier
,
DirContext
Constructor Summary | |
InitialPlatformContext()
Deprecated. Use contructor with subject |
|
InitialPlatformContext(java.lang.String platformClassName)
Deprecated. Use contructor with subject |
|
InitialPlatformContext(javax.security.auth.Subject subject)
Constructs the InitialPlatformContext by reading the implementation class from the platformcontext.properties file. |
|
InitialPlatformContext(javax.security.auth.Subject subject,
java.lang.String platformClassName)
Constructs the InitialPlatformContext with the supplied PlatformContext implementation class. |
Method Summary | |
javax.naming.directory.DirContext |
getDirectoryContext()
Deprecated. See UnsolicitedEventProcessor.findService(). |
Notifier |
getNotifier()
Retrieves a new Notifier for notifying the platform or request responses. |
UnsolicitedEventProcessor |
getUnsolicitedEventProcessor()
Retrieves a new UnsolicitedEventProcessor for processing unsolicited notification request. |
void |
setSubject(javax.security.auth.Subject subject)
Sets the subject for authentication and authorization |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InitialPlatformContext(javax.security.auth.Subject subject) throws RemoteServicesException
subject
- already authenticatedRemoteServicesException
- thrown if unable to construct.public InitialPlatformContext(javax.security.auth.Subject subject, java.lang.String platformClassName) throws RemoteServicesException
already
- authenticatedplatformClassName
- Name of a class used to instantiate the implementationRemoteServicesException
- thrown if unable to construct.public InitialPlatformContext() throws RemoteServicesException
RemoteServicesException
- thrown if unable to construct.public InitialPlatformContext(java.lang.String platformClassName) throws RemoteServicesException
platformClassName
- Name of the Java class implementing the
PlatformContext interfaceRemoteServicesException
- thrown if unable to construct.Method Detail |
public Notifier getNotifier() throws RemoteServicesException
getNotifier
in interface PlatformContext
public UnsolicitedEventProcessor getUnsolicitedEventProcessor() throws RemoteServicesException
getUnsolicitedEventProcessor
in interface PlatformContext
public javax.naming.directory.DirContext getDirectoryContext() throws javax.naming.NamingException
getDirectoryContext
in interface PlatformContext
javax.naming.NamingException
- thrown if unable to create the DirContext.public void setSubject(javax.security.auth.Subject subject)
setSubject
in interface PlatformContext
subject
- the subject for authentication and authorizationPlatformContext.setSubject(javax.security.auth.Subject)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |