|
||||||||||
| 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 | |
|---|---|
protected java.lang.String |
ojbConcreteClass
The special attribute telling OJB the object's concrete type. |
| Constructor Summary | |
|---|---|
SSOPrincipalImpl()
InternalPrincipal implementation default constructor. |
|
SSOPrincipalImpl(java.lang.String classname,
java.lang.String fullPath)
InternalPrincipal constructor given a classname and name. |
|
| Method Summary | |
|---|---|
void |
addRemotePrincipal(InternalUserPrincipal principal)
addRemotePrincipal() adds a principal to the list of remote principals |
java.lang.String |
getClassname()
Getter for the principal classname. |
java.sql.Timestamp |
getCreationDate()
Getter for creation date. |
java.lang.String |
getFullPath()
Getter for the principal full path. |
java.sql.Timestamp |
getModifiedDate()
Getter for the modified date. |
java.util.Collection |
getPermissions()
Getter for the principal permissions. |
long |
getPrincipalId()
Getter for the principal id. |
java.util.Collection |
getRemotePrincipals()
Getter for the remotePrincipals. |
int |
getSiteID()
Getter for the siteID. |
boolean |
isEnabled()
Getter for the enabled state |
boolean |
isMappingOnly()
Getter for isMappingOnly. |
void |
setClassname(java.lang.String classname)
Setter for the principal classname. |
void |
setCreationDate(java.sql.Timestamp creationDate)
Setter for the creation date. |
void |
setEnabled(boolean enabled)
Setter for the enabled state |
void |
setFullPath(java.lang.String fullPath)
Setter for the principal name. |
void |
setMappingOnly(boolean isMappingOnly)
Setter for isMappingOnly. |
void |
setModifiedDate(java.sql.Timestamp modifiedDate)
Setter for the modified date. |
void |
setPermissions(java.util.Collection permissions)
Setter for the principal permissions. |
void |
setPrincipalId(long principalId)
Setter for the principal id. |
void |
setRemotePrincipals(java.util.Collection remotePrincipals)
Setter for the remotePrincipals |
void |
setSiteID(int siteID)
Setter for thesiteID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.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(java.lang.String classname,
java.lang.String fullPath)
InternalPrincipal constructor given a classname and name.
classname - The classname.fullPath - The full path.| Method Detail |
|---|
public void addRemotePrincipal(InternalUserPrincipal principal)
addRemotePrincipal in interface SSOPrincipalprincipal - Adds remote principal to the main (logged in) principalpublic long getPrincipalId()
SSOPrincipalGetter for the principal id.
getPrincipalId in interface SSOPrincipalInternalPrincipal.getPrincipalId()public void setPrincipalId(long principalId)
SSOPrincipalSetter for the principal id.
setPrincipalId in interface SSOPrincipalprincipalId - The principal id.org.apache.jetspeed.security.om.InternalPrincipal#setPrincipalId(int)public java.lang.String getClassname()
SSOPrincipalGetter for the principal classname.
getClassname in interface SSOPrincipalInternalPrincipal.getClassname()public void setClassname(java.lang.String classname)
SSOPrincipalSetter for the principal classname.
setClassname in interface SSOPrincipalclassname - The principal classname.InternalPrincipal.setClassname(java.lang.String)public boolean isMappingOnly()
SSOPrincipalGetter for isMappingOnly.
isMappingOnly in interface SSOPrincipalpublic void setMappingOnly(boolean isMappingOnly)
SSOPrincipalSetter for isMappingOnly.
setMappingOnly in interface SSOPrincipalisMappingOnly - The isMappingOnly to set.public java.lang.String getFullPath()
SSOPrincipalGetter for the principal full path.
The full path allows to retrieve the principal preferences from the preferences services.
getFullPath in interface SSOPrincipalInternalPrincipal.getFullPath()public void setFullPath(java.lang.String fullPath)
SSOPrincipalSetter for the principal name.
The full path allows to retrieve the principal preferences from the preferences services.
setFullPath in interface SSOPrincipalfullPath - The principal full path.InternalPrincipal.setFullPath(java.lang.String)public java.util.Collection getPermissions()
SSOPrincipalGetter for the principal permissions.
getPermissions in interface SSOPrincipalInternalPrincipal.getPermissions()public void setPermissions(java.util.Collection permissions)
SSOPrincipalSetter for the principal permissions.
setPermissions in interface SSOPrincipalpermissions - The principal permissions.InternalPrincipal.setPermissions(java.util.Collection)public java.sql.Timestamp getCreationDate()
SSOPrincipalGetter for creation date.
getCreationDate in interface SSOPrincipalInternalPrincipal.getCreationDate()public void setCreationDate(java.sql.Timestamp creationDate)
SSOPrincipalSetter for the creation date.
setCreationDate in interface SSOPrincipalcreationDate - The creation date.InternalPrincipal.setCreationDate(java.sql.Timestamp)public java.sql.Timestamp getModifiedDate()
SSOPrincipalGetter for the modified date.
getModifiedDate in interface SSOPrincipalInternalPrincipal.getModifiedDate()public void setModifiedDate(java.sql.Timestamp modifiedDate)
SSOPrincipalSetter for the modified date.
setModifiedDate in interface SSOPrincipalmodifiedDate - The modified date.InternalPrincipal.setModifiedDate(java.sql.Timestamp)public boolean isEnabled()
SSOPrincipalGetter for the enabled state
isEnabled in interface SSOPrincipalInternalPrincipal.isEnabled()public void setEnabled(boolean enabled)
SSOPrincipal
setEnabled in interface SSOPrincipalenabled - The enabled stateInternalPrincipal.setEnabled(boolean)public java.util.Collection getRemotePrincipals()
SSOPrincipal
getRemotePrincipals in interface SSOPrincipalpublic void setRemotePrincipals(java.util.Collection remotePrincipals)
SSOPrincipal
setRemotePrincipals in interface SSOPrincipalremotePrincipals - The remotePrincipals to set.public int getSiteID()
SSOPrincipal
getSiteID in interface SSOPrincipalpublic void setSiteID(int siteID)
SSOPrincipal
setSiteID in interface SSOPrincipalsiteID - The siteID to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||