uCosminexus Application Server, Security Management Guide

[Contents][Index][Back][Next]

15.22 The WebLogoutCallback class

Description
An implementation class that passes user information from a Web application to a login module via CallbackHandler.
The package name of the WebLogoutCallback class is com.cosminexus.admin.auth.callback.

Syntax
class WebLogoutCallback implements javax.security.auth.callback.Callback
{
  private HttpSession session = null;
  private String userID = null;
 
  public WebLogoutCallback();
  public void setSession(HttpSession session);
  public String getSession();
  public void setUserID(String userID);
  public String getUserID();
}

Constructor and methods
Constructor/method name Functionality
WebLogoutCallback constructor Creates an instance of the WebLogoutCallback class.
getSession method Obtains a reference to the HttpSession object. The reference is specified by the setSession method.
getUserID method Obtains the user ID specified by the setUserID method.
setSession method Holds a reference to the HttpSession object. The reference is specified by the parameter.
setUserID method Holds the user ID specified by the parameter.
Organization of this section
The WebLogoutCallback constructor
The getSession method
The getUserID method
The setSession method
The setUserID method