|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.remoteservices.provider.InitialPlatformContext
public class 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
Constructor Summary | |
---|---|
InitialPlatformContext()
Deprecated. Use the contructor with a Subject parameter. |
|
InitialPlatformContext(java.lang.String platformClassName)
Deprecated. Use the contructor with a Subject parameter. |
|
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()
Retrieves a new directory naming context that can be used to query the platform's data store. |
Notifier |
getNotifier()
Retrieves a new Notifier for notifying the platform or request responses. |
UnsolicitedEventProcessor |
getUnsolicitedEventProcessor()
Retrieves a new UnsolicitedEventProcessor for processing unsolicited notification requests. |
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
- The subject should already be authenticated.
RemoteServicesException
- Thrown if unable to construct a new
InitialPlatformContext.public InitialPlatformContext(javax.security.auth.Subject subject, java.lang.String platformClassName) throws RemoteServicesException
subject
- The subject should already be authenticated.platformClassName
- The full classname used to instantiate the implementation.
RemoteServicesException
- Thrown if unable to construct a new
InitialPlatformContext.public InitialPlatformContext() throws RemoteServicesException
RemoteServicesException
- Thrown if unable to construct a new
InitialPlatformContext.public InitialPlatformContext(java.lang.String platformClassName) throws RemoteServicesException
platformClassName
- The full classname of the Java class that implements
PlatformContext. This parameter cannot be null.
RemoteServicesException
- Thrown if unable to construct.Method Detail |
---|
public Notifier getNotifier() throws RemoteServicesException
PlatformContext
getNotifier
in interface PlatformContext
RemoteServicesException
- Thrown on error.public UnsolicitedEventProcessor getUnsolicitedEventProcessor() throws RemoteServicesException
PlatformContext
getUnsolicitedEventProcessor
in interface PlatformContext
RemoteServicesException
- Thrown on errorpublic javax.naming.directory.DirContext getDirectoryContext() throws javax.naming.NamingException
PlatformContext
getDirectoryContext
in interface PlatformContext
javax.naming.NamingException
- Thrown if unable to create the DirContext.public void setSubject(javax.security.auth.Subject subject)
PlatformContext
setSubject
in interface PlatformContext
subject
- The subject for authentication and authorization. subject
cannot be null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |