Class TopicPermission
- java.lang.Object
-
- java.security.Permission
-
- de.uplanet.lucy.security.permission.TopicPermission
-
- All Implemented Interfaces:
de.uplanet.lucy.security.permission.IIntrexxPermission
,Serializable
,Guard
@Scriptable public final class TopicPermission extends Permission implements de.uplanet.lucy.security.permission.IIntrexxPermission
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACTION_READ
"read"static String
ACTION_WRITE
"write"static String
ALL_TOPICS
"<all topics>"
-
Constructor Summary
Constructors Constructor Description TopicPermission(String p_name, String p_actions)
-
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_permission)
PermissionCollection
newPermissionCollection()
-
Methods inherited from class java.security.Permission
checkGuard, getName, toString
-
-
-
-
Field Detail
-
ALL_TOPICS
public static final String ALL_TOPICS
"<all topics>"- See Also:
- Constant Field Values
-
ACTION_READ
public static final String ACTION_READ
"read"- See Also:
- Constant Field Values
-
ACTION_WRITE
public static final String ACTION_WRITE
"write"- See Also:
- Constant Field Values
-
-
Method Detail
-
implies
public boolean implies(Permission p_permission)
- Specified by:
implies
in classPermission
-
equals
public boolean equals(Object p_obj)
- Specified by:
equals
in classPermission
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classPermission
-
getActions
public String getActions()
- Specified by:
getActions
in classPermission
-
newPermissionCollection
public PermissionCollection newPermissionCollection()
- Overrides:
newPermissionCollection
in classPermission
-
-