15.19 The WebCertificateCallback class
- Description
-
An implementation class that passes the results of Web server-based authentication from CallbackHandler to a login module.
The package name of the WebCertificateCallback class is com.cosminexus.admin.auth.callback.
- Syntax
class WebCertificateCallback implements javax.security.auth.callback.Callback { public WebCertificateCallback(String attrName); public void setSubjectID(String name); public String getSubjectID(); public void setRequest(HttpServletRequest req); public HttpServletRequest getRequest(); public void setResponse(HttpServletResponse res); public HttpServletResponse getResponse(); public void setAttributeEntries(AttributeEntry[] aliases); public AttributeEntry[] getAttributeEntries(); public void setTagID(String tid); public String getTagID(); public void setTagEntry(String entry); public String getTagEntry(); }- Constructor and methods
-
Constructor/method name
Functionality
Creates an instance of the WebCertifiateCallback class.
Obtains a reference to the object that holds the list of attributes. The reference is specified by the setAttributeEntries method.
Obtains a reference to HttpServletRequest. The reference is specified by the setRequest method.
Obtains a reference to HttpServletResponse. The reference is specified by the setResponse method.
Obtains the DN name specified by the setSubjectID method.
Obtains the entry element specified by setTagEntry.
Obtains TagID specified by setTagID.
Stores a reference to the object that holds the list of attributes into the object. The reference is specified by the parameter.
Stores a reference to HttpServletRequest into the object. The reference is specified by the parameter.
Stores a reference to HttpServletResponse into the object. The reference is specified by the parameter.
Stores the DN name specified by the parameter into the object.
Holds the login tag's entry element as specified by the parameter.
Holds the login tag's id element as specified by the parameter.
- Organization of this section
-