public class RoleGrantedAuthority
extends java.lang.Object
implements org.springframework.security.core.GrantedAuthority
Constructor and Description |
---|
RoleGrantedAuthority() |
RoleGrantedAuthority(java.lang.String role) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthority() |
int |
hashCode() |
java.lang.String |
toString() |
public RoleGrantedAuthority()
public RoleGrantedAuthority(java.lang.String role)
public java.lang.String getAuthority()
getAuthority
in interface org.springframework.security.core.GrantedAuthority
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object