|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jetspeed.sso.impl.SSOPrincipalImpl
public class SSOPrincipalImpl
SSOPrincipalImpl Class used for mapping Principal information for a site. This is the short form of the InternalPrincipalImpl .
| Field Summary | |
|---|---|
private String |
classname
The class name. |
private Timestamp |
creationDate
The creation date. |
private boolean |
enabled
The enabled state. |
private String |
fullPath
The full path. |
private boolean |
isMappingOnly
The is mapping only. |
private Timestamp |
modifiedDate
The modified date. |
protected String |
ojbConcreteClass
The special attribute telling OJB the object's concrete type. |
private Collection |
permissions
Permissions not used by required by the interface |
private long |
principalId
The principal id. |
private Collection |
remotePrincipals
Remote principals for Principal |
private int |
siteID
SIteID for Remote principal |
| Constructor Summary | |
|---|---|
SSOPrincipalImpl()
InternalPrincipal implementation default constructor. |
|
SSOPrincipalImpl(String classname,
String fullPath)
InternalPrincipal constructor given a classname and name. |
|
| Method Summary | |
|---|---|
void |
addRemotePrincipal(org.apache.jetspeed.security.om.InternalUserPrincipal principal)
addRemotePrincipal() adds a principal to the list of remote principals |
String |
getClassname()
|
Timestamp |
getCreationDate()
|
String |
getFullPath()
|
Timestamp |
getModifiedDate()
|
Collection |
getPermissions()
|
long |
getPrincipalId()
|
Collection |
getRemotePrincipals()
|
int |
getSiteID()
|
boolean |
isEnabled()
|
boolean |
isMappingOnly()
|
void |
setClassname(String classname)
|
void |
setCreationDate(Timestamp creationDate)
|
void |
setEnabled(boolean enabled)
|
void |
setFullPath(String fullPath)
|
void |
setMappingOnly(boolean isMappingOnly)
|
void |
setModifiedDate(Timestamp modifiedDate)
|
void |
setPermissions(Collection permissions)
|
void |
setPrincipalId(long principalId)
|
void |
setRemotePrincipals(Collection remotePrincipals)
|
void |
setSiteID(int siteID)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private long principalId
private String classname
private boolean isMappingOnly
private String fullPath
private Timestamp creationDate
private Timestamp modifiedDate
private boolean enabled
private Collection permissions
private Collection remotePrincipals
private int siteID
protected String ojbConcreteClass
The special attribute telling OJB the object's concrete type.
NOTE: this attribute MUST be called ojbConcreteClass
| Constructor Detail |
|---|
public SSOPrincipalImpl()
InternalPrincipal implementation default constructor.
public SSOPrincipalImpl(String classname,
String fullPath)
InternalPrincipal constructor given a classname and name.
classname - The classname.fullPath - The full path.| Method Detail |
|---|
public void addRemotePrincipal(org.apache.jetspeed.security.om.InternalUserPrincipal principal)
addRemotePrincipal in interface org.apache.jetspeed.sso.SSOPrincipalpublic long getPrincipalId()
getPrincipalId in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.getPrincipalId()public void setPrincipalId(long principalId)
setPrincipalId in interface org.apache.jetspeed.sso.SSOPrincipalorg.apache.jetspeed.security.om.InternalPrincipal#setPrincipalId(int)public String getClassname()
getClassname in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.getClassname()public void setClassname(String classname)
setClassname in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.setClassname(java.lang.String)public boolean isMappingOnly()
isMappingOnly in interface org.apache.jetspeed.sso.SSOPrincipalpublic void setMappingOnly(boolean isMappingOnly)
setMappingOnly in interface org.apache.jetspeed.sso.SSOPrincipalisMappingOnly - The isMappingOnly to set.public String getFullPath()
getFullPath in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.getFullPath()public void setFullPath(String fullPath)
setFullPath in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.setFullPath(java.lang.String)public Collection getPermissions()
getPermissions in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.getPermissions()public void setPermissions(Collection permissions)
setPermissions in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.setPermissions(java.util.Collection)public Timestamp getCreationDate()
getCreationDate in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.getCreationDate()public void setCreationDate(Timestamp creationDate)
setCreationDate in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.setCreationDate(java.sql.Timestamp)public Timestamp getModifiedDate()
getModifiedDate in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.getModifiedDate()public void setModifiedDate(Timestamp modifiedDate)
setModifiedDate in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.setModifiedDate(java.sql.Timestamp)public boolean isEnabled()
isEnabled in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.isEnabled()public void setEnabled(boolean enabled)
setEnabled in interface org.apache.jetspeed.sso.SSOPrincipalInternalPrincipal.setEnabled(boolean)public Collection getRemotePrincipals()
getRemotePrincipals in interface org.apache.jetspeed.sso.SSOPrincipalpublic void setRemotePrincipals(Collection remotePrincipals)
setRemotePrincipals in interface org.apache.jetspeed.sso.SSOPrincipalremotePrincipals - The remotePrincipals to set.public int getSiteID()
getSiteID in interface org.apache.jetspeed.sso.SSOPrincipalpublic void setSiteID(int siteID)
setSiteID in interface org.apache.jetspeed.sso.SSOPrincipalsiteID - The siteID to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||