public interface SSOUserManager
| Modifier and Type | Method and Description |
|---|---|
void |
addAssociation(SSOUser user,
JetspeedPrincipal principal)
Adds an association between a SSO user and a Portal principal.
|
SSOUser |
addUser(SSOSite site,
JetspeedPrincipal ownerPrincipal,
String ssoUsername,
String ssoUserPassword)
Adds a SSO user within the given SSO site.
|
PasswordCredential |
getCredentials(SSOUser user)
Retrieves the credentials for a SSO user
|
Collection<JetspeedPrincipal> |
getPortalPrincipals(SSOUser user)
Retrieves all Portal ("local") Principals connected to a given SSO User
|
SSOUser |
getRemoteUser(SSOSite site,
String remoteUserName)
Retrieves a single SSO user, given the SSO user's site and name
|
Collection<SSOUser> |
getRemoteUsers(SSOSite site,
JetspeedPrincipal portalPrincipal)
Retrieves all SSO users related to the Portal principal, for the given site.
|
Collection<SSOUser> |
getRemoteUsers(SSOSite site,
Subject subject)
Retrieves all SSO Users related to this subject, for the given site.
|
Collection<SSOUser> |
getUsersForSite(SSOSite site)
Retrieves all SSO users which belong to a SSO site
|
void |
removeUser(SSOUser remoteUser)
Removes the given SSO user
|
void |
setPassword(SSOUser user,
String password)
Sets the password for a given SSO user
|
void |
updateUser(SSOUser user)
Updates a SSO user
|
SSOUser getRemoteUser(SSOSite site, String remoteUserName)
site - The SSO SiteremoteUserName - the name of the SSO userCollection<JetspeedPrincipal> getPortalPrincipals(SSOUser user)
user - the SSO userCollection<SSOUser> getRemoteUsers(SSOSite site, Subject subject) throws SSOException
site - the SSO Site for which to fetch the SSO userssubject - SSOExceptionCollection<SSOUser> getRemoteUsers(SSOSite site, JetspeedPrincipal portalPrincipal) throws SSOException
site - the SSO SiteportalPrincipal - a Portal principalSSOExceptionPasswordCredential getCredentials(SSOUser user) throws SSOException
user - the SSO user for which to return the credentialSSOExceptionCollection<SSOUser> getUsersForSite(SSOSite site) throws SSOException
site - SSOExceptionvoid removeUser(SSOUser remoteUser) throws SSOException
remoteUser - the SSO user to be removedSSOExceptionSSOUser addUser(SSOSite site, JetspeedPrincipal ownerPrincipal, String ssoUsername, String ssoUserPassword) throws SSOException
site - the SSO site for which to add the new userownerPrincipal - the owner Portal principalssoUsername - the name of the new userssoUserPassword - the password of the new userSSOExceptionvoid updateUser(SSOUser user) throws SSOException
user - the SSO user to be updatedSSOExceptionvoid addAssociation(SSOUser user, JetspeedPrincipal principal) throws SSOException
user - a SSO userprincipal - a Portal principalSSOExceptionvoid setPassword(SSOUser user, String password) throws SSOException
user - the SSO user for which to set the passwordpassword - the new passwordSSOExceptionCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.