Trait

net.liftweb.http.auth

Role

Related Doc: package auth

Permalink

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

    Permalink

    The name of the role

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addRoles(roles: Role*): Role

    Permalink

    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

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def detach: Box[Role]

    Permalink

    Removes this Role from its parent

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getChildRoles: List[Role]

    Permalink

    Returns the child nodes

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getParent: Box[Role]

    Permalink

    Returns the parent node

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

    Permalink

    Search for a child Role with this name

  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def isChildOf(roleName: String): Boolean

    Permalink

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

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

  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def isParentOf(roleName: String): Boolean

    Permalink

    Verifies if this Role is the parent of the given Role

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def removeRoleByName(roleName: String): Box[Role]

    Permalink

    Removes the child Role

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    Role → AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped