defines the unique "bit"-identifier for this role.
defines the unique "bit"-identifier for this role. Keep in mind, that a single bit is unique the way of definitions is 1, 2, 4, 8 ... For a short explanation: (1|2|4) -> 7, (7&1) == 1 -> true, (7&2) == 2 -> true, (7&4) == 4 -> true
http://de.wikipedia.org/wiki/Bitweiser_Operator
return a list of roles which this Role will inherited from
returns a definition of privileges for resources.
returns a definition of privileges for resources.
Example: return Map( de.ceow.security.acl.Resource → Seq(), // allows all in this resource de.ceow.security.acl.Resource → Seq( de.ceow.security.acl.Privilege, // allow privilege // allow privilege by execute assertion function de.ceow.security.acl.Privilege → Seq(new MyAssert), // allow privilege by execute both assertions - both have to return true de.ceow.security.acl.Privilege → Seq(new MyAssert) ), )
if you define an privilege in an resource, the whole resource is denied and only defined privileges are allowed
Returns the string identifier of the Role
this is the abstract role