|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.musicontroller.security.Authority
public class Authority
A Authority is the right to perform a certain task in an application. Authorities are specified by a String giving a short description of the task.
| Constructor Summary | |
|---|---|
Authority()
Creates a new Authority-object with an empty description. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthority()
|
java.lang.String |
getDescription()
|
int |
getId()
|
void |
setDescription(java.lang.String description)
Sets the descrition of this Authority. |
void |
setId(int id)
Set the identifier of this Authority |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Authority()
| Method Detail |
|---|
public void setId(int id)
id - an integer.public int getId()
public java.lang.String getAuthority()
getAuthority in interface org.acegisecurity.GrantedAuthoritypublic void setDescription(java.lang.String description)
description - The description of this Authoritypublic java.lang.String getDescription()
getAuthority()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||