|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SSOUserManager
Method Summary | |
---|---|
void |
addAssociation(SSOUser user,
JetspeedPrincipal principal)
Adds an association between a SSO user and a Portal principal. |
SSOUser |
addUser(SSOSite site,
JetspeedPrincipal ownerPrincipal,
java.lang.String ssoUsername,
java.lang.String ssoUserPassword)
Adds a SSO user within the given SSO site. |
PasswordCredential |
getCredentials(SSOUser user)
Retrieves the credentials for a SSO user |
java.util.Collection<JetspeedPrincipal> |
getPortalPrincipals(SSOUser user)
Retrieves all Portal ("local") Principals connected to a given SSO User |
SSOUser |
getRemoteUser(SSOSite site,
java.lang.String remoteUserName)
Retrieves a single SSO user, given the SSO user's site and name |
java.util.Collection<SSOUser> |
getRemoteUsers(SSOSite site,
JetspeedPrincipal portalPrincipal)
Retrieves all SSO users related to the Portal principal, for the given site. |
java.util.Collection<SSOUser> |
getRemoteUsers(SSOSite site,
javax.security.auth.Subject subject)
Retrieves all SSO Users related to this subject, for the given site. |
java.util.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,
java.lang.String password)
Sets the password for a given SSO user |
void |
updateUser(SSOUser user)
Updates a SSO user |
Method Detail |
---|
SSOUser getRemoteUser(SSOSite site, java.lang.String remoteUserName)
site
- The SSO SiteremoteUserName
- the name of the SSO user
java.util.Collection<JetspeedPrincipal> getPortalPrincipals(SSOUser user)
user
- the SSO user
java.util.Collection<SSOUser> getRemoteUsers(SSOSite site, javax.security.auth.Subject subject) throws SSOException
site
- the SSO Site for which to fetch the SSO userssubject
-
SSOException
java.util.Collection<SSOUser> getRemoteUsers(SSOSite site, JetspeedPrincipal portalPrincipal) throws SSOException
site
- the SSO SiteportalPrincipal
- a Portal principal
SSOException
PasswordCredential getCredentials(SSOUser user) throws SSOException
user
- the SSO user for which to return the credential
SSOException
java.util.Collection<SSOUser> getUsersForSite(SSOSite site) throws SSOException
site
-
SSOException
void removeUser(SSOUser remoteUser) throws SSOException
remoteUser
- the SSO user to be removed
SSOException
SSOUser addUser(SSOSite site, JetspeedPrincipal ownerPrincipal, java.lang.String ssoUsername, java.lang.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 user
SSOException
void updateUser(SSOUser user) throws SSOException
user
- the SSO user to be updated
SSOException
void addAssociation(SSOUser user, JetspeedPrincipal principal) throws SSOException
user
- a SSO userprincipal
- a Portal principal
SSOException
void setPassword(SSOUser user, java.lang.String password) throws SSOException
user
- the SSO user for which to set the passwordpassword
- the new password
SSOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |