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

      Constructors 
      Constructor and Description
      TenantCallback()
      Default constructor of the callback.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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.