The handle method
- Organization of this page
Description
Obtains session information, assigns to it a reference to the WebSSOCallback object (Callback implementation class), and passes it to the login module in the single sign-on library.
Syntax
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException;
Parameters
- callbacks:
-
If this parameter specifies a reference to the WebSSOCallback object, session information is set and returned. If it specifies a class other than this one, the handle method of CallbackHandler specified in the constructor is called.
Exceptions
- java.io.IOException:
-
This exception occurs in the handle method of CallbackHandler for each system.
- javax.security.auth.callback.UnsupportedCallbackException:
-
This exception occurs when both of the following conditions coexist:
-
A reference to CallbackHandler for each system is not specified in the constructor (when null is specified).
-
This exception occurred in the handle method of CallbackHandler for each system.
-
Return value
Set a value for callbacks so that this value can be returned. This method does not return a value.