|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.security.model.Authority
public class Authority
Implementation of GrantedAuthority adding a description field
and identity field suitable for ORM
| Constructor Summary | |
|---|---|
Authority(String authority)
Constructor |
|
Authority(String authority,
String description)
Constructor |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object other)
|
String |
getAuthority()
|
String |
getDescription()
Accessor method for description |
Long |
getId()
Accessor method for id |
int |
hashCode()
|
void |
setAuthority(String authority)
Setter method for Authority |
void |
setDescription(String description)
Setter method for description |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Authority(String authority)
authority -
public Authority(String authority,
String description)
authority - description - | Method Detail |
|---|
public int compareTo(Object o)
compareTo in interface Comparablepublic boolean equals(Object other)
equals in class Objectpublic String getAuthority()
getAuthority in interface org.springframework.security.GrantedAuthoritypublic String getDescription()
public int hashCode()
hashCode in class Objectpublic void setAuthority(String authority)
authority - public void setDescription(String description)
description - public Long getId()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||