org.mortbay.jetty.plus.jaas
Class SSOJAASUserRealm
java.lang.Object
org.mortbay.jetty.plus.jaas.JAASUserRealm
org.mortbay.jetty.plus.jaas.SSOJAASUserRealm
- All Implemented Interfaces:
- SSORealm, UserRealm
public class SSOJAASUserRealm
- extends JAASUserRealm
- implements SSORealm
SSOJAASUserRealm
Notes
Usage
For SSO realm that uses JAAS
The configuration must be the same as for JAASUserRealm plus
injection of an instance of class HashSSORealm using setSSORealm()
methode. This is intended to be used with the correct LoginModule
and its fitting .conf configuration file as described in JAAS documentation.
- Author:
- Frederic Nizery
| 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 |
SSOJAASUserRealm
public SSOJAASUserRealm()
setSSORealm
public void setSSORealm(SSORealm ssoRealm)
- Set the SSORealm.
A SSORealm implementation may be set to enable support for SSO.
- Parameters:
ssoRealm - The SSORealm to delegate single sign on requests to.
getSingleSignOn
public Credential getSingleSignOn(Request request,
Response response)
- Specified by:
getSingleSignOn in interface SSORealm
setSingleSignOn
public void setSingleSignOn(Request request,
Response response,
java.security.Principal principal,
Credential credential)
- Specified by:
setSingleSignOn in interface SSORealm
clearSingleSignOn
public void clearSingleSignOn(java.lang.String username)
- Specified by:
clearSingleSignOn in interface SSORealm
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.