| java.lang.Object info.jtrac.domain.UserSpaceRole
UserSpaceRole | public class UserSpaceRole implements GrantedAuthority,Serializable(Code) | | Class that exists purely to hold a "ternary" mapping of
user <--> space <--> role and is also persisted
the JTrac authorization (access control) scheme works as follows:
if space is null, that means that this is a "global" JTrac role
if space is not null, this role applies for the user to that
space, and the getAuthority() method used by Acegi returns the
role key appended with "_" + spacePrefixCode
|
UserSpaceRole | public UserSpaceRole()(Code) | | |
getId | public long getId()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isAbleToCreateNewItem | public boolean isAbleToCreateNewItem()(Code) | | |
setId | public void setId(long id)(Code) | | |
|
|