1 7 8 package javax.security.auth.spi; 9 10 import javax.security.auth.Subject ; 11 import javax.security.auth.AuthPermission ; 12 import javax.security.auth.callback.*; 13 import javax.security.auth.login.*; 14 import java.util.Map ; 15 16 112 public interface LoginModule { 113 114 139 void initialize(Subject subject, CallbackHandler callbackHandler, 140 Map <String ,?> sharedState, 141 Map <String ,?> options); 142 143 160 boolean login() throws LoginException; 161 162 185 boolean commit() throws LoginException; 186 187 207 boolean abort() throws LoginException; 208 209 222 boolean logout() throws LoginException; 223 } 224 | Popular Tags |