|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface representing a policy principal. This will be used by the
org.apache.jetspeed.security.impl.RdbmsPolicy
to retrieve specify
which permissions are applied on which principal according to the JAAS
policy:
grant [SignedBy "signer_names"] [, CodeBase "URL"]
[, InternalPrincipal [principal_class_name] "principal_name"]
[, InternalPrincipal [principal_class_name] "principal_name"] ...
{
permission permission_class_name [ "target_name" ]
[, "action"] [, SignedBy "signer_names"];
permission ...
};
Method Summary | |
String |
getClassname()
Getter for the principal classname. |
Timestamp |
getCreationDate()
Getter for creation date. |
String |
getFullPath()
Getter for the principal full path. |
Timestamp |
getModifiedDate()
Getter for the modified date. |
Collection |
getPermissions()
Getter for the principal permissions. |
long |
getPrincipalId()
Getter for the principal id. |
boolean |
isEnabled()
Getter for the enabled state |
boolean |
isMappingOnly()
Getter for isMappingOnly. |
void |
setClassname(String classname)
Setter for the principal classname. |
void |
setCreationDate(Timestamp creationDate)
Setter for the creation date. |
void |
setEnabled(boolean enabled)
Setter for the enabled state |
void |
setFullPath(String fullPath)
Setter for the principal name. |
void |
setMappingOnly(boolean isMappingOnly)
Setter for isMappingOnly. |
void |
setModifiedDate(Timestamp modifiedDate)
Setter for the modified date. |
void |
setPermissions(Collection permissions)
Setter for the principal permissions. |
void |
setPrincipalId(long principalId)
Setter for the principal id. |
Method Detail |
public long getPrincipalId()
Getter for the principal id.
public void setPrincipalId(long principalId)
Setter for the principal id.
principalId
- The principal id.public String getClassname()
Getter for the principal classname.
public void setClassname(String classname)
Setter for the principal classname.
classname
- The principal classname.public boolean isMappingOnly()
Getter for isMappingOnly.
public void setMappingOnly(boolean isMappingOnly)
Setter for isMappingOnly.
isMappingOnly
- The isMappingOnly.public String getFullPath()
Getter for the principal full path.
The full path allows to retrieve the principal preferences from the preferences services.
public void setFullPath(String fullPath)
Setter for the principal name.
The full path allows to retrieve the principal preferences from the preferences services.
fullPath
- The principal full path.public Collection getPermissions()
Getter for the principal permissions.
public void setPermissions(Collection permissions)
Setter for the principal permissions.
permissions
- The principal permissions.public Timestamp getCreationDate()
Getter for creation date.
public void setCreationDate(Timestamp creationDate)
Setter for the creation date.
creationDate
- The creation date.public Timestamp getModifiedDate()
Getter for the modified date.
public void setModifiedDate(Timestamp modifiedDate)
Setter for the modified date.
modifiedDate
- The modified date.public boolean isEnabled()
Getter for the enabled state
public void setEnabled(boolean enabled)
enabled
- The enabled state
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |