net.liftweb.http.auth.Role

trait Role

trait Role

 extends ScalaObject


A Role may be assingned 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.


Source: Role.scala(42)

 Fields

detach.. def detach
Removes this Role from its parent
Box[Role]
getChildRoles.. def getChildRoles
Returns the child nodes
List[Role]
getParent.. def getParent
Retuns the parent node
Box[Role]
name.. abstract def name
The name ofthe role
String

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
addRoles.. def addRoles(roles : Role*)
Add child Role(s) to this role [details]
Node name is ensured to be unique (by name) in the tree.
Role
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
getRoleByName.. def getRoleByName(roleName : String)
Search for a child Role with this name
Box[Role]
hashCode.. def hashCode Int AnyRef
isChildOf.. def isChildOf(roleName : String)
Verifies if this Role is a child of a role having the name roleName
Boolean
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
isParentOf.. def isParentOf(roleName : String)
Verifies if this Role is the parent of the given Role
Boolean
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
removeRoleByName.. def removeRoleByName(roleName : String)
Removes the child Role
Box[Role]
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. override def toString String
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.