|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.resilientedge.jockey.peer.Authority
This class represents an entity which may have some specific permissions on the peer network. An authority provides a security context for an application, either based on the application itself, the person using the application, or the current role of the application.
| Constructor Summary | |
Authority(java.lang.String name,
java.lang.String type,
java.lang.String id)
Construct a fully formed Authority. |
|
| Method Summary | |
int |
compareTo(java.lang.Object other)
Returns zero if the other authority is the same as this one. |
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this object. |
java.lang.String |
getAuthorityId()
Returns the authority id |
java.lang.String |
getAuthorityName()
Returns the authority name |
java.lang.String |
getAuthorityType()
Returns the authority type |
void |
setAuthorityId(java.lang.String newValue)
Sets the authority id |
void |
setAuthorityName(java.lang.String newValue)
Sets the authority name |
void |
setAuthorityType(java.lang.String newValue)
Sets the authority type |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Authority(java.lang.String name,
java.lang.String type,
java.lang.String id)
name - authority familiar nametype - authority type nameid - identifier for this authority| Method Detail |
public java.lang.String getAuthorityType()
public void setAuthorityType(java.lang.String newValue)
newValue - The new AuthorityType valuepublic java.lang.String getAuthorityName()
public void setAuthorityName(java.lang.String newValue)
newValue - The new AuthorityName valuepublic java.lang.String getAuthorityId()
public void setAuthorityId(java.lang.String newValue)
newValue - The new AuthorityId valuepublic int compareTo(java.lang.Object other)
compareTo in interface java.lang.Comparableother - object to comparepublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - object to compare
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||