|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalPrincipal
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 |
---|
long getPrincipalId()
Getter for the principal id.
void setPrincipalId(long principalId)
Setter for the principal id.
principalId
- The principal id.String getClassname()
Getter for the principal classname.
void setClassname(String classname)
Setter for the principal classname.
classname
- The principal classname.boolean isMappingOnly()
Getter for isMappingOnly.
void setMappingOnly(boolean isMappingOnly)
Setter for isMappingOnly.
isMappingOnly
- The isMappingOnly.String getFullPath()
Getter for the principal full path.
The full path allows to retrieve the principal preferences from the preferences services.
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.Collection getPermissions()
Getter for the principal permissions.
void setPermissions(Collection permissions)
Setter for the principal permissions.
permissions
- The principal permissions.Timestamp getCreationDate()
Getter for creation date.
void setCreationDate(Timestamp creationDate)
Setter for the creation date.
creationDate
- The creation date.Timestamp getModifiedDate()
Getter for the modified date.
void setModifiedDate(Timestamp modifiedDate)
Setter for the modified date.
modifiedDate
- The modified date.boolean isEnabled()
Getter for the enabled state
void setEnabled(boolean enabled)
enabled
- The enabled state
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |