Developers of login modules to be used with the JAAS authentication
API must implement this interface. Because this interface is not
typically used by application developers, its methods are not
documented here.
public interface
LoginModule {
// Public Instance Methods
boolean
abort ( ) throws javax.security.auth.login.LoginException;
boolean
commit ( ) throws javax.security.auth.login.LoginException;
void
initialize (javax.security.auth.Subject
subject , javax.security.
auth.callback.CallbackHandler
callbackHandler , java.util.Map<String,?>
sharedState , java.util.Map<String,?>
options );
boolean
login ( ) throws javax.security.auth.login.LoginException;
boolean
logout ( ) throws javax.security.auth.login.LoginException;
}