Name

LoginModule

Synopsis

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;  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.