|
||||||||||
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
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(java.lang.Object object)
Equals method used to appropriately compare 2 InternalPermission objects. |
java.lang.String |
getActions()
Getter for the permission actions. |
java.lang.String |
getClassname()
Getter for the permission classname. |
java.sql.Timestamp |
getCreationDate()
Getter for creation date. |
java.sql.Timestamp |
getModifiedDate()
Getter for the modified date. |
java.lang.String |
getName()
Getter for the permission resource name. |
long |
getPermissionId()
Getter for the permission id. |
java.util.Collection |
getPrincipals()
Getter for the permission principals. |
void |
setActions(java.lang.String actions)
Setter for the permission actions. |
void |
setClassname(java.lang.String classname)
Setter for the permission classname. |
void |
setCreationDate(java.sql.Timestamp creationDate)
Setter for the creation date. |
void |
setModifiedDate(java.sql.Timestamp modifiedDate)
Setter for the modified date. |
void |
setName(java.lang.String name)
Setter for the permission resource name. |
void |
setPermissionId(long permissionId)
Setter for the permission id. |
void |
setPrincipals(java.util.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.java.lang.String getClassname()
Getter for the permission classname.
void setClassname(java.lang.String classname)
Setter for the permission classname.
classname
- The permission classname.java.lang.String getName()
Getter for the permission resource name.
void setName(java.lang.String name)
Setter for the permission resource name.
name
- The permission resource name.java.lang.String getActions()
Getter for the permission actions.
void setActions(java.lang.String actions)
Setter for the permission actions.
actions
- The permission actions.java.util.Collection getPrincipals()
Getter for the permission principals.
void setPrincipals(java.util.Collection principals)
Setter for the permission principals.
principals
- The permission principals.java.sql.Timestamp getCreationDate()
Getter for creation date.
void setCreationDate(java.sql.Timestamp creationDate)
Setter for the creation date.
creationDate
- The creation date.java.sql.Timestamp getModifiedDate()
Getter for the modified date.
void setModifiedDate(java.sql.Timestamp modifiedDate)
Setter for the modified date.
modifiedDate
- The modified date.boolean equals(java.lang.Object object)
Equals method used to appropriately compare 2 InternalPermission
objects.
equals
in class java.lang.Object
object
- The object to compare with.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |