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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Role
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def name: String

    The name of the role

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def detach: Box[Role]

    Removes this Role from its parent

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getChildRoles: List[Role]

    Returns the child nodes

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def getParent: Box[Role]

    Returns the parent node

  14. def getRoleByName(roleName: String): Box[Role]

    Search for a child Role with this name

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. def isChildOf(roleName: String): Boolean

    Verifies if this Role is a child of a role having the name roleName

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isParentOf(roleName: String): Boolean

    Verifies if this Role is the parent of the given Role

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. def removeRoleByName(roleName: String): Box[Role]

    Removes the child Role

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    Role → AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped