public class GrantedAuthority extends java.lang.Object implements IGrantedAuthority
Constructor and Description |
---|
GrantedAuthority() |
Modifier and Type | Method and Description |
---|---|
static GrantedAuthority |
copy(IGrantedAuthority input)
Copy contents from the SPI class.
|
java.lang.String |
getAuthority()
Get the authority name.
|
java.lang.String |
getDescription()
Get the description.
|
java.lang.String |
getParent()
Get parent authority.
|
boolean |
isGroup()
Indicates if the authority is a group.
|
void |
setAuthority(java.lang.String authority) |
void |
setDescription(java.lang.String description) |
void |
setGroup(boolean group) |
void |
setParent(java.lang.String parent) |
public java.lang.String getAuthority()
IGrantedAuthority
getAuthority
in interface IGrantedAuthority
public void setAuthority(java.lang.String authority)
public java.lang.String getDescription()
IGrantedAuthority
getDescription
in interface IGrantedAuthority
public void setDescription(java.lang.String description)
public java.lang.String getParent()
IGrantedAuthority
getParent
in interface IGrantedAuthority
public void setParent(java.lang.String parent)
public boolean isGroup()
IGrantedAuthority
isGroup
in interface IGrantedAuthority
public void setGroup(boolean group)
public static GrantedAuthority copy(IGrantedAuthority input)
input
-