|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.jetty.plus.jaas.JAASUserRealm
org.mortbay.jetty.plus.jaas.SSOJAASUserRealm
public class SSOJAASUserRealm
SSOJAASUserRealm
Field Summary |
---|
Fields inherited from class org.mortbay.jetty.plus.jaas.JAASUserRealm |
---|
callbackHandlerClass, DEFAULT_ROLE_CLASS_NAME, DEFAULT_ROLE_CLASS_NAMES, defaultUser, loginModuleName, realmName, roleCheckPolicy, roleClassNames |
Constructor Summary | |
---|---|
SSOJAASUserRealm()
|
Method Summary | |
---|---|
void |
clearSingleSignOn(java.lang.String username)
Clear SSO for user. |
Credential |
getSingleSignOn(Request request,
Response response)
Get SSO credentials. |
void |
setSingleSignOn(Request request,
Response response,
java.security.Principal principal,
Credential credential)
Set SSO principal and credential. |
void |
setSSORealm(SSORealm ssoRealm)
Set the SSORealm. |
Methods inherited from class org.mortbay.jetty.plus.jaas.JAASUserRealm |
---|
authenticate, disassociate, getName, getPrincipal, getRoleClassNames, getRoles, isUserInRole, logout, popRole, pushRole, reauthenticate, setCallbackHandlerClass, setLoginModuleName, setName, setRoleCheckPolicy, setRoleClassNames |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSOJAASUserRealm()
Method Detail |
---|
public void setSSORealm(SSORealm ssoRealm)
ssoRealm
- The SSORealm to delegate single sign on requests to.public Credential getSingleSignOn(Request request, Response response)
SSORealm
getSingleSignOn
in interface SSORealm
request
- The request to SSO.response
- The response to SSO.
public void setSingleSignOn(Request request, Response response, java.security.Principal principal, Credential credential)
SSORealm
setSingleSignOn
in interface SSORealm
request
- The authenticated request.response
- The authenticated response/principal
- The principal that has been authenticated.credential
- The credentials used to authenticate.public void clearSingleSignOn(java.lang.String username)
SSORealm
clearSingleSignOn
in interface SSORealm
username
- The user to clear.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |