| |
|
| java.lang.Object info.jtrac.domain.User
User | public class User implements UserDetails,Serializable(Code) | | Standard User entity with attributes such as name, password etc.
The parent relationship is used for easy grouping of users and
flexible inheritance of permission schemes TODO. The user type
determines if this is a normal user or a user group. Only
user groups can have child references.
We also tie in to the Acegi security framework and implement
the Acegi UserDetails interface so that Acegi can take care
of Authentication and Authorization
|
SEARCH_EMAIL | final public static int SEARCH_EMAIL(Code) | | |
SEARCH_LOGIN_NAME | final public static int SEARCH_LOGIN_NAME(Code) | | |
SEARCH_NAME | final public static int SEARCH_NAME(Code) | | |
getAuthorities | public GrantedAuthority[] getAuthorities()(Code) | | |
getId | public long getId()(Code) | | |
getRoleKeys | public List<String> getRoleKeys(Space space)(Code) | | when the passed space is null this has a special significance
it will return roles that are 'global'
|
getSpaceCount | public int getSpaceCount()(Code) | | |
getSpaceRoles | public Collection<UserSpaceRole> getSpaceRoles()(Code) | | this returns 'valid' spaceRoles, where space not null and role not ROLE_ADMIN
also sort by Space name for showing on the dashboard
TODO multiple roles per space
|
hashCode | public int hashCode()(Code) | | |
isAccountNonExpired | public boolean isAccountNonExpired()(Code) | | |
isAccountNonLocked | public boolean isAccountNonLocked()(Code) | | |
isAdminForAllSpaces | public boolean isAdminForAllSpaces()(Code) | | |
isCredentialsNonExpired | public boolean isCredentialsNonExpired()(Code) | | |
isEnabled | public boolean isEnabled()(Code) | | |
isGuestForSpace | public boolean isGuestForSpace(Space space)(Code) | | |
isLocked | public boolean isLocked()(Code) | | |
removeSpaceWithRole | public void removeSpaceWithRole(Space space, String roleKey)(Code) | | |
setId | public void setId(long id)(Code) | | |
setLocked | public void setLocked(boolean locked)(Code) | | |
setLoginName | public void setLoginName(String loginName)(Code) | | |
|
|
|