|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.spotfire.server.security.SecurityContext
com.spotfire.server.security.JAASSecurityContext
public class JAASSecurityContext
An extension to the SecurityContext that encapsulates
the JAAS LoginContext instance that was used to
authenticate the user.
| Constructor Summary | |
|---|---|
JAASSecurityContext(String username,
LoginContext loginContext)
Creates a new SecurityContext instance. |
|
JAASSecurityContext(String username,
String password,
LoginContext loginContext)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
logout()
Logs out the principal encapsulated in this JAASSecurityContext. |
| Methods inherited from class com.spotfire.server.security.SecurityContext |
|---|
getAuthenticationScheme, getAuthType, getPassword, getPrincipal, setAuthenticationScheme, setAuthType, valueBound, valueUnbound |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JAASSecurityContext(String username,
LoginContext loginContext)
SecurityContext instance. The
username and password arguments are the
credentials used when authenticating the principal. The third
argument is the LoginContext that was used to
authenticate the user.
username - the usernameloginContext - a LoginContext containing an
authenticated Subject
@Deprecated
public JAASSecurityContext(String username,
String password,
LoginContext loginContext)
SecurityContext instance. The
username and password arguments are the
credentials used when authenticating the principal. The third
argument is the LoginContext that was used to
authenticate the user.
username - the usernamepassword - the passwordloginContext - a LoginContext containing an authenticated Subject| Method Detail |
|---|
public void logout()
JAASSecurityContext.
logout in class SecurityContextSecurityContext.valueUnbound(javax.servlet.http.HttpSessionBindingEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||