Instantiate a new LoginContext object with a name
and a CallbackHandler object.
name | the name used as the index into the
Configuration. | |
callbackHandler | the CallbackHandler object used by
LoginModules to communicate with the user. |
LoginException | if the caller-specified name
does not appear in the Configuration
and there is no Configuration entry
for "other", or if the caller-specified
callbackHandler is null.
| |
SecurityException | if a SecurityManager is set and the caller does not have AuthPermission("createLoginContext.name"), or if a configuration entry for name does not exist and the caller does not additionally have AuthPermission("createLoginContext.other") |
Diagram: login