public interface SSOSiteManager
| Modifier and Type | Method and Description |
|---|---|
SSOSite |
addSite(SSOSite site)
Adds the site to the persistent store.
|
SSOSite |
getSiteById(int id)
Retrieves a site by matching ID
|
SSOSite |
getSiteByName(String siteName)
Retrieves a site by matching the name of the site.
|
SSOSite |
getSiteByUrl(String siteUrl)
Retrieves a site by matching the URL.
|
Collection<SSOSite> |
getSites(String filter)
Retrieves sites, given a filter.
|
Collection<SSOSite> |
getSitesForPrincipal(JetspeedPrincipal principal)
Retrieves all sites directly related to this single principal.
|
Collection<SSOSite> |
getSitesForSubject(Subject subject)
Retrieves all SSO sites related to the given Subject.
|
SSOSite |
newSite(String name,
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
|
SSOSite newSite(String name, String url) throws SSOException
name - the name of the new siteurl - the url of the new siteSSOExceptionSSOSite addSite(SSOSite site) throws SSOException
site - the transient site to be added (created with newSite())SSOExceptionvoid removeSite(SSOSite site) throws SSOException
site - the site to be removedSSOExceptionvoid updateSite(SSOSite site) throws SSOException
site - the site to be updatedSSOExceptionCollection<SSOSite> getSitesForSubject(Subject subject) throws SSOException
subject - SSOExceptionCollection<SSOSite> getSitesForPrincipal(JetspeedPrincipal principal) throws SSOException
principal - SSOExceptionCollection<SSOSite> getSites(String filter)
filter - a string that should match part of the name or url of sites returnedSSOSite getSiteById(int id)
id - the id of a siteSSOSite getSiteByUrl(String siteUrl)
siteUrl - the url of a siteCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.