Hitachi

uCosminexus Application Server Security Management Guide


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

WebCertificateCallback constructor

Creates an instance of the WebCertifiateCallback class.

getAttributeEntries method

Obtains a reference to the object that holds the list of attributes. The reference is specified by the setAttributeEntries method.

getRequest method

Obtains a reference to HttpServletRequest. The reference is specified by the setRequest method.

getResponse method

Obtains a reference to HttpServletResponse. The reference is specified by the setResponse method.

getSubjectID method

Obtains the DN name specified by the setSubjectID method.

getTagEntry method

Obtains the entry element specified by setTagEntry.

getTagID method

Obtains TagID specified by setTagID.

setAttributeEntries method

Stores a reference to the object that holds the list of attributes into the object. The reference is specified by the parameter.

setRequest method

Stores a reference to HttpServletRequest into the object. The reference is specified by the parameter.

setResponse method

Stores a reference to HttpServletResponse into the object. The reference is specified by the parameter.

setSubjectID method

Stores the DN name specified by the parameter into the object.

setTagEntry method

Holds the login tag's entry element as specified by the parameter.

setTagID method

Holds the login tag's id element as specified by the parameter.

Organization of this section