com.ibm.itim.apps.jaas.callback
Class TenantCallback

java.lang.Object
  |
  +--com.ibm.itim.apps.jaas.callback.TenantCallback
All Implemented Interfaces:
javax.security.auth.callback.Callback

public class TenantCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback

JAAS authentication callback for the tenant ID of the authenticating user. This callback does not have to be handled if authenticating to a single-tenant deployment. The ID can also be set to the empty string in a single-tenant deployment.


Constructor Summary
TenantCallback()
          Default constructor of the callback.
 
Method Summary
 java.lang.String getID()
          Returns the ID of the tenant.
 void setID(java.lang.String id)
          Changes the ID of the tenant.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TenantCallback

public TenantCallback()
Default constructor of the callback.

Method Detail

getID

public java.lang.String getID()
Returns the ID of the tenant.

Returns:
ID of the tenant.

setID

public void setID(java.lang.String id)
Changes the ID of the tenant. In a single-tenant deployment, the empty string should be used.

Parameters:
id - ID of the tenant.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.