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
Creates an instance of the WebLogoutCallback class.
Obtains a reference to the HttpSession object. The reference is specified by the setSession method.
Obtains the user ID specified by the setUserID method.
Holds a reference to the HttpSession object. The reference is specified by the parameter.
Holds the user ID specified by the parameter.
- Organization of this section