|
||||||||||
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 SSOPrincipal
principal
- Adds remote principal to the main (logged in) principalpublic long getPrincipalId()
SSOPrincipal
Getter for the principal id.
getPrincipalId
in interface SSOPrincipal
InternalPrincipal.getPrincipalId()
public void setPrincipalId(long principalId)
SSOPrincipal
Setter for the principal id.
setPrincipalId
in interface SSOPrincipal
principalId
- The principal id.org.apache.jetspeed.security.om.InternalPrincipal#setPrincipalId(int)
public java.lang.String getClassname()
SSOPrincipal
Getter for the principal classname.
getClassname
in interface SSOPrincipal
InternalPrincipal.getClassname()
public void setClassname(java.lang.String classname)
SSOPrincipal
Setter for the principal classname.
setClassname
in interface SSOPrincipal
classname
- The principal classname.InternalPrincipal.setClassname(java.lang.String)
public boolean isMappingOnly()
SSOPrincipal
Getter for isMappingOnly.
isMappingOnly
in interface SSOPrincipal
public void setMappingOnly(boolean isMappingOnly)
SSOPrincipal
Setter for isMappingOnly.
setMappingOnly
in interface SSOPrincipal
isMappingOnly
- The isMappingOnly to set.public java.lang.String getFullPath()
SSOPrincipal
Getter for the principal full path.
The full path allows to retrieve the principal preferences from the preferences services.
getFullPath
in interface SSOPrincipal
InternalPrincipal.getFullPath()
public void setFullPath(java.lang.String fullPath)
SSOPrincipal
Setter for the principal name.
The full path allows to retrieve the principal preferences from the preferences services.
setFullPath
in interface SSOPrincipal
fullPath
- The principal full path.InternalPrincipal.setFullPath(java.lang.String)
public java.util.Collection getPermissions()
SSOPrincipal
Getter for the principal permissions.
getPermissions
in interface SSOPrincipal
InternalPrincipal.getPermissions()
public void setPermissions(java.util.Collection permissions)
SSOPrincipal
Setter for the principal permissions.
setPermissions
in interface SSOPrincipal
permissions
- The principal permissions.InternalPrincipal.setPermissions(java.util.Collection)
public java.sql.Timestamp getCreationDate()
SSOPrincipal
Getter for creation date.
getCreationDate
in interface SSOPrincipal
InternalPrincipal.getCreationDate()
public void setCreationDate(java.sql.Timestamp creationDate)
SSOPrincipal
Setter for the creation date.
setCreationDate
in interface SSOPrincipal
creationDate
- The creation date.InternalPrincipal.setCreationDate(java.sql.Timestamp)
public java.sql.Timestamp getModifiedDate()
SSOPrincipal
Getter for the modified date.
getModifiedDate
in interface SSOPrincipal
InternalPrincipal.getModifiedDate()
public void setModifiedDate(java.sql.Timestamp modifiedDate)
SSOPrincipal
Setter for the modified date.
setModifiedDate
in interface SSOPrincipal
modifiedDate
- The modified date.InternalPrincipal.setModifiedDate(java.sql.Timestamp)
public boolean isEnabled()
SSOPrincipal
Getter for the enabled state
isEnabled
in interface SSOPrincipal
InternalPrincipal.isEnabled()
public void setEnabled(boolean enabled)
SSOPrincipal
setEnabled
in interface SSOPrincipal
enabled
- The enabled stateInternalPrincipal.setEnabled(boolean)
public java.util.Collection getRemotePrincipals()
SSOPrincipal
getRemotePrincipals
in interface SSOPrincipal
public void setRemotePrincipals(java.util.Collection remotePrincipals)
SSOPrincipal
setRemotePrincipals
in interface SSOPrincipal
remotePrincipals
- The remotePrincipals to set.public int getSiteID()
SSOPrincipal
getSiteID
in interface SSOPrincipal
public void setSiteID(int siteID)
SSOPrincipal
setSiteID
in interface SSOPrincipal
siteID
- The siteID to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |