Hitachi

uCosminexus Application Server Security Management Guide


15.25 The WebPasswordHandler class

Description

An implementation of the JAAS CallbackHandler class that obtains a user ID and password from a user via a Web browser.

Specify the user ID and password in the com.cosminexus.admin.auth.name and com.cosminexus.admin.auth.password parameters for HTTP requests, respectively.

The package name of the WebPasswordHandler class is com.cosminexus.admin.auth.callback.

Syntax
class WebPasswordHandler 
{
  public WebPasswordHandler(HttpServletRequest request,
                                 HttpServletResponse response,
                                 AttributeEntry [] aliases,
                                 String url,
                                 boolean urlforward)
    throws FormatError, ParameterError;
  public WebPasswordHandler(HttpServletRequest request,
                                 HttpServletResponse response,
                                 String aliasesFile,
                                 String url,
                                 boolean urlforward)
    throws IOException, SecurityException, FormatError,
    ParameterError;
 
  public void handle(Callback[] callbacks)
    throws IOException, UnsupportedCallbackException;
}
Constructor and methods

Constructor/method name

Functionality

WebPasswordHandler constructor

Creates an instance of the WebPasswordHandler class.

handle method

Obtains authentication information.

Organization of this section