Class CertificateRealm.AppContextCallback

java.lang.Object
com.sun.enterprise.security.auth.realm.certificate.CertificateRealm.AppContextCallback
All Implemented Interfaces:
Callback
Enclosing class:
CertificateRealm

public static final class CertificateRealm.AppContextCallback extends Object implements Callback
A LoginModule for CertificateRealm can instantiate and pass a AppContextCallback to handle method of the passed CallbackHandler to retrieve the application name information.
  • Constructor Details

    • AppContextCallback

      public AppContextCallback()
  • Method Details

    • getModuleID

      public String getModuleID()
      Get the fully qualified module name. The module name consists of the application name (if not a singleton) followed by a '#' and the name of the module.

      Returns:
      the application name.
    • setModuleID

      public void setModuleID(String moduleID)
      Set the fully qualified module name. The module name consists of the application name (if not a singleton) followed by a '#' and the name of the module.