|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalPermission
Interface representing a policy permission. This will be used by the
org.apache.jetspeed.security.impl.RdbmsPolicy
to retrieve a permission
policy according to JAAS where permission are used in JAAS:
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 | |
---|---|
boolean |
equals(Object object)
Equals method used to appropriately compare 2 InternalPermission objects. |
String |
getActions()
Getter for the permission actions. |
String |
getClassname()
Getter for the permission classname. |
Timestamp |
getCreationDate()
Getter for creation date. |
Timestamp |
getModifiedDate()
Getter for the modified date. |
String |
getName()
Getter for the permission resource name. |
long |
getPermissionId()
Getter for the permission id. |
Collection |
getPrincipals()
Getter for the permission principals. |
void |
setActions(String actions)
Setter for the permission actions. |
void |
setClassname(String classname)
Setter for the permission classname. |
void |
setCreationDate(Timestamp creationDate)
Setter for the creation date. |
void |
setModifiedDate(Timestamp modifiedDate)
Setter for the modified date. |
void |
setName(String name)
Setter for the permission resource name. |
void |
setPermissionId(long permissionId)
Setter for the permission id. |
void |
setPrincipals(Collection principals)
Setter for the permission principals. |
Method Detail |
---|
long getPermissionId()
Getter for the permission id.
void setPermissionId(long permissionId)
Setter for the permission id.
permissionId
- The permission id.String getClassname()
Getter for the permission classname.
void setClassname(String classname)
Setter for the permission classname.
classname
- The permission classname.String getName()
Getter for the permission resource name.
void setName(String name)
Setter for the permission resource name.
name
- The permission resource name.String getActions()
Getter for the permission actions.
void setActions(String actions)
Setter for the permission actions.
actions
- The permission actions.Collection getPrincipals()
Getter for the permission principals.
void setPrincipals(Collection principals)
Setter for the permission principals.
principals
- The permission principals.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 equals(Object object)
Equals method used to appropriately compare 2 InternalPermission
objects.
equals
in class Object
object
- The object to compare with.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |