| org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport org.apache.jetspeed.sso.impl.PersistenceBrokerSSOProvider
Constructor Summary | |
public | PersistenceBrokerSSOProvider(String repositoryPath) PersitenceBrokerSSOProvider()
Parameters: repository - Location of repository mapping file. |
Method Summary | |
public void | addCredentialsForSite(String fullPath, String remoteUser, String site, String pwd) | public void | addCredentialsForSite(Subject subject, String remoteUser, String site, String pwd) | public void | addSite(String siteName, String siteUrl) | public void | addSiteChallengeResponse(String siteName, String siteUrl, String realm) | public void | addSiteFormAuthenticated(String siteName, String siteUrl, String realm, String userField, String pwdField) | public Collection | getCookiesForUser(String fullPath) | public Collection | getCookiesForUser(Subject user) | public SSOContext | getCredentials(Subject subject, String site) | public List | getPrincipalsForSite(SSOSite site) | public String | getRealmForSite(String site) | public SSOSite | getSite(String siteUrl) | public String | getSiteName(String site) | public String | getSiteURL(String site) | public Iterator | getSites(String filter) | public Collection | getSitesForPrincipal(String fullPath) | public boolean | hasSSOCredentials(Subject subject, String site) | public void | removeCredentialsForSite(String fullPath, String site) | public void | removeCredentialsForSite(Subject subject, String site) | public void | removeSite(SSOSite site) | public void | setRealmForSite(String site, String realm) | public void | updateCredentialsForSite(Subject subject, String remoteUser, String site, String pwd) | public void | updateSite(SSOSite site) | public String | useSSO(Subject subject, String url, String SSOSite, boolean bRefresh) | public String | useSSO(Subject subject, String url, boolean bRefresh) |
scrambler | static char[] scrambler(Code) | | |
PersistenceBrokerSSOProvider | public PersistenceBrokerSSOProvider(String repositoryPath) throws ClassNotFoundException(Code) | | PersitenceBrokerSSOProvider()
Parameters: repository - Location of repository mapping file. Must be available within the classpath. Parameters: prefsFactoryImpl - java.util.prefs.PreferencesFactory implementation to use. Parameters: enablePropertyManager - Whether or not we chould be suing the property manager. throws: ClassNotFoundException - if the prefsFactoryImpl argument does not reperesenta Class that exists in the current classPath. |
addCredentialsForSite | public void addCredentialsForSite(String fullPath, String remoteUser, String site, String pwd) throws SSOException(Code) | | addCredentialsForSite()
Parameters: fullPath - Parameters: remoteUser - Parameters: site - Parameters: pwd - throws: SSOException - |
addSiteChallengeResponse | public void addSiteChallengeResponse(String siteName, String siteUrl, String realm) throws SSOException(Code) | | Add a new site that uses ChallengeResponse Authentication
Parameters: siteName - Parameters: siteUrl - Parameters: realm - throws: SSOException - |
addSiteFormAuthenticated | public void addSiteFormAuthenticated(String siteName, String siteUrl, String realm, String userField, String pwdField) throws SSOException(Code) | | Add a new site that uses Form Authentication
Parameters: siteName - Parameters: siteUrl - Parameters: realm - Parameters: userField - Parameters: pwdField - throws: SSOException - |
getCookiesForUser | public Collection getCookiesForUser(String fullPath)(Code) | | Retrive cookies for an user by User full path
Parameters: fullPath - |
getCookiesForUser | public Collection getCookiesForUser(Subject user)(Code) | | Retrive Cookies by Subject
Parameters: user - |
getSitesForPrincipal | public Collection getSitesForPrincipal(String fullPath)(Code) | | Get all SSOSites that the principal has access to
Parameters: userId - |
updateCredentialsForSite | public void updateCredentialsForSite(Subject subject, String remoteUser, String site, String pwd) throws SSOException(Code) | | updateCredentialsForSite
Parameters: subject - Current subject Parameters: remoteUser - remote user login Parameters: site - URL or description of site Parameters: pwd - Password for credentail |
Fields inherited from org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport | protected String repositoryPath(Code)(Java Doc)
|
Methods inherited from org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport | public void init() throws Exception(Code)(Java Doc)
|
|
|