|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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 authenticated
RemoteServicesException
- thrown if unable to construct.public InitialPlatformContext(javax.security.auth.Subject subject, java.lang.String platformClassName) throws RemoteServicesException
subject
- already authenticatedplatformClassName
- Name of a class used to instantiate the implementation
RemoteServicesException
- 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 interface. Cannot be null.
RemoteServicesException
- thrown if unable to construct.Method Detail |
public Notifier getNotifier() throws RemoteServicesException
getNotifier
in interface PlatformContext
RemoteServicesException
- on errorpublic UnsolicitedEventProcessor getUnsolicitedEventProcessor() throws RemoteServicesException
getUnsolicitedEventProcessor
in interface PlatformContext
RemoteServicesException
- on errorpublic 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 authorization, cannot be null.PlatformContext.setSubject(javax.security.auth.Subject)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |