org.apache.jetspeed.sso.impl
Class SSOSiteImpl
java.lang.Object
org.apache.jetspeed.sso.impl.SSOSiteImpl
- All Implemented Interfaces:
- org.apache.jetspeed.sso.SSOSite
- public class SSOSiteImpl
- extends Object
- implements org.apache.jetspeed.sso.SSOSite
SSOSiteImpl
Class holding information about the Site and credentials for Single Sign on SSO.
OJB will map the database entries into this class
- Version:
- $Id: SSOSiteImpl.java 188283 2005-01-28 22:37:51Z rogerrut $
- Author:
- Roger Ruttimann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
siteId
private int siteId
name
private String name
siteURL
private String siteURL
isAllowUserSet
private boolean isAllowUserSet
isCertificateRequired
private boolean isCertificateRequired
principals
private Collection principals
remotePrincipals
private Collection remotePrincipals
SSOSiteImpl
public SSOSiteImpl()
isAllowUserSet
public boolean isAllowUserSet()
- Specified by:
isAllowUserSet
in interface org.apache.jetspeed.sso.SSOSite
- Returns:
- Returns the isAllowUserSet.
setAllowUserSet
public void setAllowUserSet(boolean isAllowUserSet)
- Specified by:
setAllowUserSet
in interface org.apache.jetspeed.sso.SSOSite
- Parameters:
isAllowUserSet
- The isAllowUserSet to set.
isCertificateRequired
public boolean isCertificateRequired()
- Specified by:
isCertificateRequired
in interface org.apache.jetspeed.sso.SSOSite
- Returns:
- Returns the isCertificateRequired.
setCertificateRequired
public void setCertificateRequired(boolean isCertificateRequired)
- Specified by:
setCertificateRequired
in interface org.apache.jetspeed.sso.SSOSite
- Parameters:
isCertificateRequired
- The isCertificateRequired to set.
getName
public String getName()
- Specified by:
getName
in interface org.apache.jetspeed.sso.SSOSite
- Returns:
- Returns the name.
setName
public void setName(String name)
- Specified by:
setName
in interface org.apache.jetspeed.sso.SSOSite
- Parameters:
name
- The name to set.
getPrincipals
public Collection getPrincipals()
- Specified by:
getPrincipals
in interface org.apache.jetspeed.sso.SSOSite
- Returns:
- Returns the principals.
setPrincipals
public void setPrincipals(Collection principals)
- Specified by:
setPrincipals
in interface org.apache.jetspeed.sso.SSOSite
- Parameters:
principals
- The principals to set.
getSiteId
public int getSiteId()
- Specified by:
getSiteId
in interface org.apache.jetspeed.sso.SSOSite
- Returns:
- Returns the siteId.
setSiteId
public void setSiteId(int siteId)
- Specified by:
setSiteId
in interface org.apache.jetspeed.sso.SSOSite
- Parameters:
siteId
- The siteId to set.
getSiteURL
public String getSiteURL()
- Specified by:
getSiteURL
in interface org.apache.jetspeed.sso.SSOSite
- Returns:
- Returns the siteURL.
setSiteURL
public void setSiteURL(String siteURL)
- Specified by:
setSiteURL
in interface org.apache.jetspeed.sso.SSOSite
- Parameters:
siteURL
- The siteURL to set.
addPrincipal
public void addPrincipal(org.apache.jetspeed.sso.SSOPrincipal principal)
throws org.apache.jetspeed.sso.SSOException
- addPrincipal
Adds the SSOPrincipal to the principals collection
- Specified by:
addPrincipal
in interface org.apache.jetspeed.sso.SSOSite
- Throws:
org.apache.jetspeed.sso.SSOException
removePrincipal
public void removePrincipal(long principalId)
throws org.apache.jetspeed.sso.SSOException
- removePrincipal()
removes a principal from the principals collection
- Specified by:
removePrincipal
in interface org.apache.jetspeed.sso.SSOSite
- Throws:
org.apache.jetspeed.sso.SSOException
getRemotePrincipals
public Collection getRemotePrincipals()
- Specified by:
getRemotePrincipals
in interface org.apache.jetspeed.sso.SSOSite
- Returns:
- Returns the remotePrincipals.
setRemotePrincipals
public void setRemotePrincipals(Collection remotePrincipals)
- Specified by:
setRemotePrincipals
in interface org.apache.jetspeed.sso.SSOSite
- Parameters:
remotePrincipals
- The remotePrincipals to set.
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.