|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Utility component to handle SSO requests
Method Summary | |
void |
addCredentialsForSite(String fullPath,
String remoteUser,
String site,
String pwd)
addCredentialsForSite() |
void |
addCredentialsForSite(Subject subject,
String remoteUser,
String site,
String pwd)
|
void |
addSite(String siteName,
String siteUrl)
|
SSOContext |
getCredentials(Subject subject,
String site)
|
List |
getPrincipalsForSite(SSOSite site)
return a list of SSOContext objects containing both the portal principal, remote principal, and credentials |
SSOSite |
getSite(String siteUrl)
|
String |
getSiteName(String site)
|
Iterator |
getSites(String filter)
|
String |
getSiteURL(String site)
|
boolean |
hasSSOCredentials(Subject subject,
String site)
Public API's for SSO functinality |
void |
init()
Init Called from the Spring Framework to initialize SSO Provider component |
void |
removeCredentialsForSite(String fullPath,
String site)
removeCredentialsForSite() |
void |
removeCredentialsForSite(Subject subject,
String site)
|
void |
removeSite(SSOSite site)
|
void |
updateCredentialsForSite(Subject subject,
String remoteUser,
String site,
String pwd)
|
void |
updateSite(SSOSite site)
|
Method Detail |
public void init() throws Exception
Exception
public boolean hasSSOCredentials(Subject subject, String site)
public SSOContext getCredentials(Subject subject, String site) throws SSOException
SSOException
public void addCredentialsForSite(Subject subject, String remoteUser, String site, String pwd) throws SSOException
SSOException
public void updateCredentialsForSite(Subject subject, String remoteUser, String site, String pwd) throws SSOException
SSOException
public void removeCredentialsForSite(Subject subject, String site) throws SSOException
SSOException
public List getPrincipalsForSite(SSOSite site)
site
-
public Iterator getSites(String filter)
public SSOSite getSite(String siteUrl)
public void updateSite(SSOSite site) throws SSOException
SSOException
public void addSite(String siteName, String siteUrl) throws SSOException
SSOException
public void removeSite(SSOSite site) throws SSOException
SSOException
public void addCredentialsForSite(String fullPath, String remoteUser, String site, String pwd) throws SSOException
fullPath
- remoteUser
- site
- pwd
-
SSOException
public void removeCredentialsForSite(String fullPath, String site) throws SSOException
fullPath
- site
-
SSOException
public String getSiteURL(String site)
public String getSiteName(String site)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |