com.ibm.itim.apps.jaas.callback
Class PlatformCallback
java.lang.Object
|
+--com.ibm.itim.apps.jaas.callback.PlatformCallback
- All Implemented Interfaces:
- javax.security.auth.callback.Callback
- public class PlatformCallback
- extends java.lang.Object
- implements javax.security.auth.callback.Callback
JAAS authentication callback for the platform context for the LoginModule to
to communicate to the platform with. This callback does not have to be
handled if the platform context properties were set in the security file
read by the LoginModule.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlatformCallback
public PlatformCallback()
- Default constructor of the callback.
getContext
public PlatformContext getContext()
- Returns the platform context.
- Returns:
- ID of the tenant.
setContext
public void setContext(PlatformContext context)
- Changes the platform context to use.
- Parameters:
context
- PlatformContext.