Interface LoginContext
-
- All Known Implementing Classes:
JaasLoginContext,PreAuthContext
public interface LoginContextInterface version of the JAASLoginContextclass. It is used to make integration of non-JAAS authentication components easier while still retaining full JAAS support. TheJaasLoginContextclass acts as a bridge that connects the JAASLoginContextclass with this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.security.auth.SubjectgetSubject()voidlogin()voidlogout()
-
-
-
Method Detail
-
getSubject
javax.security.auth.Subject getSubject()
- See Also:
LoginContext.getSubject()
-
login
void login() throws javax.security.auth.login.LoginException- Throws:
javax.security.auth.login.LoginException- See Also:
LoginContext.login()
-
logout
void logout() throws javax.security.auth.login.LoginException- Throws:
javax.security.auth.login.LoginException- See Also:
LoginContext.logout()
-
-