|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SSOSiteManager
| Method Summary | |
|---|---|
SSOSite |
addSite(SSOSite site)
Adds the site to the persistent store. |
SSOSite |
getSiteById(int id)
Retrieves a site by matching ID |
SSOSite |
getSiteByName(java.lang.String siteName)
Retrieves a site by matching the name of the site. |
SSOSite |
getSiteByUrl(java.lang.String siteUrl)
Retrieves a site by matching the URL. |
java.util.Collection<SSOSite> |
getSites(java.lang.String filter)
Retrieves sites, given a filter. |
java.util.Collection<SSOSite> |
getSitesForPrincipal(JetspeedPrincipal principal)
Retrieves all sites directly related to this single principal. |
java.util.Collection<SSOSite> |
getSitesForSubject(javax.security.auth.Subject subject)
Retrieves all SSO sites related to the given Subject. |
SSOSite |
newSite(java.lang.String name,
java.lang.String url)
Creates a new TRANSIENT site object. |
void |
removeSite(SSOSite site)
Removes a SSO site |
void |
updateSite(SSOSite site)
Updates an existing SSO site |
| Method Detail |
|---|
SSOSite newSite(java.lang.String name,
java.lang.String url)
throws SSOException
name - the name of the new siteurl - the url of the new site
SSOException
SSOSite addSite(SSOSite site)
throws SSOException
site - the transient site to be added (created with newSite())
SSOException
void removeSite(SSOSite site)
throws SSOException
site - the site to be removed
SSOException
void updateSite(SSOSite site)
throws SSOException
site - the site to be updated
SSOException
java.util.Collection<SSOSite> getSitesForSubject(javax.security.auth.Subject subject)
throws SSOException
subject -
SSOException
java.util.Collection<SSOSite> getSitesForPrincipal(JetspeedPrincipal principal)
throws SSOException
principal -
SSOExceptionjava.util.Collection<SSOSite> getSites(java.lang.String filter)
filter - a string that should match part of the name or url of sites returned
SSOSite getSiteById(int id)
id - the id of a site
SSOSite getSiteByUrl(java.lang.String siteUrl)
siteUrl - the url of a site
SSOSite getSiteByName(java.lang.String siteName)
siteName - the name of a site
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||