Package org.yamcs.security
Class ObjectPrivilege
- java.lang.Object
-
- org.yamcs.security.ObjectPrivilege
-
public class ObjectPrivilege extends Object
An object privilege is the right to perform a particular action on an object. The object is assumed to be identifiable by a single string. The object may also be expressed as a regular expression, in which case Yamcs will perform pattern matching when doing authorization checks.
-
-
Constructor Summary
Constructors Constructor Description ObjectPrivilege(ObjectPrivilegeType type, String object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getObject()
ObjectPrivilegeType
getType()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ObjectPrivilege
public ObjectPrivilege(ObjectPrivilegeType type, String object)
-
-
Method Detail
-
getType
public ObjectPrivilegeType getType()
-
getObject
public String getObject()
-
-