@NotThreadSafe @Entity public class Group extends BasicSecurityPrincipal<Group> implements Comparable<Group>
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHORITY_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.GrantedAuthority |
asGrantedAuthority()
Represents this group as a
GrantedAuthority to be added. |
static String |
authorityString(String group)
Generate the authority string for a group, applies the prefix if is not yet present.
|
int |
compareTo(Group other) |
String |
getName() |
void |
setName(String name) |
addRole, buildAuthoritySet, getAuthorities, getCreatedBy, getCreatedDate, getId, getLastModifiedBy, getLastModifiedDate, getPrincipalName, getRoles, getUserDirectory, hasPermission, hasPermission, hasRole, hasRole, removeRole, setCreatedBy, setCreatedDate, setId, setLastModifiedBy, setLastModifiedDate, setPrincipalName, setRoles, setUserDirectory, toString, uniquePrincipalNameequals, getNewEntityId, hashCode, isNew, setNewEntityId, toDtopublic static final String AUTHORITY_PREFIX
public Group()
public Group(String name)
public String getName()
public void setName(String name)
public org.springframework.security.core.GrantedAuthority asGrantedAuthority()
GrantedAuthority to be added.public int compareTo(Group other)
compareTo in interface Comparable<Group>Copyright © 2020. All rights reserved.