uCosminexus Application Server, Security Management Guide
class WebPasswordCallback implements javax.security.auth.callback.Callback
{
public static final int GETPW;
public static final int NOPW;
public WebPasswordCallback();
public void setName(String name);
public String getName();
public void setPassword(String password);
public String getPassword();
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 setOption(int option);
public int getOption();
public void setTagID(String tid);
public String getTagID();
public void setTagEntry(String entry);
public String getTagEntry();
}| Constructor/method name | Functionality |
|---|---|
| WebPasswordCallback constructor | Creates an instance of the WebPasswordCallback class. |
| getAttributeEntries method | Obtains a reference to the object that stores the list of attributes. The reference is specified by the setAttributeEntries method. |
| getName method | Obtains the user ID specified by the setName method. |
| getOption method | Obtains the configured option. |
| getPassword method | Obtains the password specified by the setPassword 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. |
| getTagEntry method | Obtains the entry element specified by the setTagEntry method. |
| getTagID method | Obtains TagID specified by the setTagID method. |
| setAttributeEntries method | Stores into this object a reference to the object that holds the list of attributes. The reference is specified by the parameter. |
| setName method | Stores the user ID specified by the parameter into this object. |
| setOption method | Requests the settings configured with CallbackHandler. |
| setPassword method | Stores the password specified by the parameter into this object. |
| setRequest method | Stores a reference to HttpServletRequest into this object. The reference is specified by the parameter. |
| setResponse method | Stores a reference to HttpServletResponse into this object. The reference is specified by the parameter. |
| setTagEntry method | Requests the settings configured with the CallbackHandler method. Stores the login tag's entry element as specified by the parameter. |
| setTagID method | Requests the settings configured with the CallbackHandler method. Stores the login tag's id element as specified by the parameter. |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd