public class TcPermission extends Permission
Graphs matching a specified
name pattern. A pattern is matched if and only if the pattern is equals
to name of the Graph or the pattern ends with "/*" and
the name of the Graph starts with the characters
preceding the '*' in the pattern.
Modifier and Type | Field and Description |
---|---|
static String |
READ |
static String |
READWRITE |
Constructor and Description |
---|
TcPermission(String tcNamePattern,
String actions)
Conststructs a TcPermission for a specified name pattern and a list of
actions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getActions() |
int |
hashCode() |
boolean |
implies(Permission permission) |
checkGuard, getName, newPermissionCollection, toString
public static final String READWRITE
public static final String READ
public TcPermission(String tcNamePattern, String actions)
tcNamePattern
- see class descriptionactions
- a comma separated list of the strings "read" and "readwrite",
the canonical form is just "read" or "readwrite" as "readwrite"
implies "read".public boolean implies(Permission permission)
implies
in class Permission
public boolean equals(Object obj)
equals
in class Permission
public int hashCode()
hashCode
in class Permission
public String getActions()
getActions
in class Permission
Copyright © 2015–2022 The Apache Software Foundation. All rights reserved.