abstract
class
ProtoUser extends AnyRef
Instance Constructors
-
new
ProtoUser(username: String, password: String, roles: Set[String])
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
findRoles(query: com.mongodb.casbah.query.Imports.DBObject): List[Role]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
password: String
-
def
passwordMatch(pass: String): Boolean
-
def
permissions: Set[Permission]
-
lazy val
perms: Set[Permission]
-
val
roles: Set[String]
-
val
rolesCollection: Option[MongoCollection]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
val
username: String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
User entity prototype.
You should define your entity extending this class. For example:
To allow your roles be serialized you have to set SalatAuth.rolesCollections in your Boot.scala.