Interface LoginContext
-
- All Known Implementing Classes:
JaasLoginContext
,PreAuthContext
public interface LoginContext
Interface version of the JAASLoginContext
class. It is used to make integration of non-JAAS authentication components easier while still retaining full JAAS support. TheJaasLoginContext
class acts as a bridge that connects the JAASLoginContext
class with this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.security.auth.Subject
getSubject()
void
login()
void
logout()
-
-
-
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()
-
-