public class CustomLoginModule extends Object implements LoginModule
Constructor and Description |
---|
CustomLoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
abort() |
boolean |
commit() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
boolean |
logout() |
static void |
main(String[] args)
For testing purposes
|
public static void main(String[] args) throws LoginException
LoginException
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize
in interface LoginModule
public boolean commit() throws LoginException
commit
in interface LoginModule
LoginException
public boolean login() throws LoginException
login
in interface LoginModule
LoginException
public boolean abort() throws LoginException
abort
in interface LoginModule
LoginException
public boolean logout() throws LoginException
logout
in interface LoginModule
LoginException
Copyright © 2016. All rights reserved.