Initializes the LoginModule.
Syntax
void
initialize
(
Subject
subject
,
CallbackHandler
callback
,
Map< String,?>
sharedState
,
Map< String,?>
options
)
Parameters
-
subject –
Subject to be authenticated
-
callback –
CallbackHandler to retrieve credentials
-
sharedState –
state shared with other configured providers
-
options –
configuration options for this provider
Usage
This method is invoked after the LoginModule has been instantiated. The purpose of this method is to initialize this LoginModule with the configuration properties. If this LoginModule does not understand any of the data stored in sharedState or options parameters, they can be ignored.