Class PolicyPermission
- java.lang.Object
-
- java.security.Permission
-
- de.uplanet.lucy.security.permission.PolicyPermission
-
- All Implemented Interfaces:
de.uplanet.lucy.security.permission.IIntrexxPermission
,Serializable
,Guard
@Scriptable public final class PolicyPermission extends Permission implements de.uplanet.lucy.security.permission.IIntrexxPermission
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACTION_MODIFY
"modify"static String
ACTION_READ
"read"static String
ALL_PERMISSIONS
"<all permissions>"
-
Constructor Summary
Constructors Constructor Description PolicyPermission(String p_strName, String p_strActions)
Construct aPolicyPermission
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object p_obj)
String
getActions()
int
hashCode()
boolean
implies(Permission p_perm)
PermissionCollection
newPermissionCollection()
-
Methods inherited from class java.security.Permission
checkGuard, getName, toString
-
-
-
-
Field Detail
-
ALL_PERMISSIONS
public static final String ALL_PERMISSIONS
"<all permissions>"- See Also:
- Constant Field Values
-
ACTION_READ
public static final String ACTION_READ
"read"- See Also:
- Constant Field Values
-
ACTION_MODIFY
public static final String ACTION_MODIFY
"modify"- See Also:
- Constant Field Values
-
-
Method Detail
-
getActions
public String getActions()
- Specified by:
getActions
in classPermission
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classPermission
-
implies
public boolean implies(Permission p_perm)
- Specified by:
implies
in classPermission
-
equals
public boolean equals(Object p_obj)
- Specified by:
equals
in classPermission
-
newPermissionCollection
public PermissionCollection newPermissionCollection()
- Overrides:
newPermissionCollection
in classPermission
-
-