com.waveset.object
Class Right
java.lang.Object
com.waveset.object.Right
- All Implemented Interfaces:
- java.lang.Cloneable
- public class Right
- extends java.lang.Object
- implements java.lang.Cloneable
Static instances of this class are used to
to enumerate the valid right definitions in the Waveset system.
Constructor Summary |
protected |
Right()
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
LIST
public static final Right LIST
VIEW
public static final Right VIEW
VIEW_ONLY
public static final Right VIEW_ONLY
MODIFY
public static final Right MODIFY
DELETE
public static final Right DELETE
CREATE
public static final Right CREATE
PROVISION
public static final Right PROVISION
DEPROVISION
public static final Right DEPROVISION
EXECUTE
public static final Right EXECUTE
IMPORT
public static final Right IMPORT
EXPORT
public static final Right EXPORT
CHANGE_PASSWORD
public static final Right CHANGE_PASSWORD
RESET_PASSWORD
public static final Right RESET_PASSWORD
BYPASS_VERIFY
public static final Right BYPASS_VERIFY
CONNECT
public static final Right CONNECT
DISCONNECT
public static final Right DISCONNECT
ENABLE
public static final Right ENABLE
DISABLE
public static final Right DISABLE
RENAME
public static final Right RENAME
APPROVE
public static final Right APPROVE
REJECT
public static final Right REJECT
DELEGATE
public static final Right DELEGATE
UNLOCK
public static final Right UNLOCK
BULK_CREATE
public static final Right BULK_CREATE
BULK_MODIFY
public static final Right BULK_MODIFY
BULK_DELETE
public static final Right BULK_DELETE
BULK_ENABLE
public static final Right BULK_ENABLE
BULK_DISABLE
public static final Right BULK_DISABLE
ASSIGN_CAPABILITIES
public static final Right ASSIGN_CAPABILITIES
ASSIGN_AUDIT_POLICIES
public static final Right ASSIGN_AUDIT_POLICIES
CONTROL_ACTIVE_SYNC
public static final Right CONTROL_ACTIVE_SYNC
MODIFY_ACTIVE_SYNC
public static final Right MODIFY_ACTIVE_SYNC
RUN_DEBUGGER
public static final Right RUN_DEBUGGER
UNASSIGN
public static final Right UNASSIGN
UNLINK
public static final Right UNLINK
BULK_UNASSIGN
public static final Right BULK_UNASSIGN
BULK_UNLINK
public static final Right BULK_UNLINK
BULK_DEPROVISION
public static final Right BULK_DEPROVISION
BULK_CHANGE_PASSWORD
public static final Right BULK_CHANGE_PASSWORD
BULK_RESET_PASSWORD
public static final Right BULK_RESET_PASSWORD
Right
protected Right()
getName
public java.lang.String getName()
getDisplayName
public java.lang.String getDisplayName()
getLogDbKey
public java.lang.String getLogDbKey()
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object obj)
findRight
public static Right findRight(java.lang.String rightName)
findRightByLogDbKey
public static Right findRightByLogDbKey(java.lang.String logDbKey)
listRights
public static Right[] listRights()
getImplies
public static Right[] getImplies(java.lang.String rightName)
getRightNamesThatImply
public static java.util.List getRightNamesThatImply(java.lang.String rightName)
- Return the Rights that imply the given right. This is used for authorizaion
checking, if checking for the named right, any of the returned rights
will do.
Since this can be called extremely frequently, cache the lists of values.
- Parameters:
rightName
- - the right name name
- Returns:
- a List of String right names that imply rightName
implies
public boolean implies(Right right)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Clone a right
- Throws:
java.lang.CloneNotSupportedException