15.29 The WebSSOCallback class
- Description
-
An implementation class that passes session information from a Web application to a login module via CallbackHandler.
The package name of the WebSSOCallback class is com.cosminexus.admin.auth.sso.callback.
- Syntax
class WebSSOCallback implements javax.security.auth.callback.Callback { public WebSSOCallback(); public void setRequest(HttpServletRequest req); public HttpServletRequest getRequest(); public void setResponse(HttpServletResponse res); public HttpServletResponse getResponse(); public void setTagID(String tid); public String getTagID(); public void setTagEntry(String entry); public String getTagEntry(); }
- Constructor and methods
-
Constructor/method name
Functionality
Creates an instance of the WebSSOCallback class.
Obtains a reference to HttpServletRequest. The reference is specified by the setRequest method.
Obtains a reference to HttpServletResponse. The reference is specified by the setResponse method.
Obtains the entry element specified by the setTagEntry method.
Obtains TagID specified by the setTagID method.
Stores a reference to HttpServletRequest into the object. The reference is specified by the parameter.
Stores a reference to HttpServletResponse into the object. The reference is specified by the parameter.
Holds the login tag's entry element as specified by the parameter.
Holds the login tag's id element as specified by the parameter.