trait Role extends AnyRef
A Role may be assigned to a resource denominated by a path. A subject that is assigned to the same role or to a role higher into the roles hierarchy will have access to requested resource.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Role
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def name: String
The name of the role
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addRoles(roles: Role*): Role
Add child Role(s) to this role.
Add child Role(s) to this role. Node name is ensured to be unique (by name) in the tree.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def detach: Box[Role]
Removes this Role from its parent
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getChildRoles: List[Role]
Returns the child nodes
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getParent: Box[Role]
Returns the parent node
- def getRoleByName(roleName: String): Box[Role]
Search for a child Role with this name
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isChildOf(roleName: String): Boolean
Verifies if this Role is a child of a role having the name roleName
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isParentOf(roleName: String): Boolean
Verifies if this Role is the parent of the given Role
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def removeRoleByName(roleName: String): Box[Role]
Removes the child Role
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Role → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()