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
forCertificateRealm
can instantiate and pass aAppContextCallback
tohandle
method of the passedCallbackHandler
to retrieve the application name information.
-
-
Constructor Summary
Constructors Constructor Description AppContextCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getModuleID()
Get the fully qualified module name.void
setModuleID(String moduleID)
Set the fully qualified module name.
-
-
-
Method Detail
-
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.- Parameters:
moduleID
-
-
-