|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.security.authorization.rbac.jdo.v0_9_0.JdoResource
public class JdoResource
In RBAC terms, this is the entity which an operation is associated with that which permissions are based on.
| Field Summary |
|---|
| Fields inherited from interface org.codehaus.plexus.security.rbac.Resource |
|---|
GLOBAL, NULL |
| Constructor Summary | |
|---|---|
JdoResource()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Method equals. |
String |
getIdentifier()
Get the string identifier for a resource. |
int |
hashCode()
Method hashCode. |
boolean |
isPattern()
Get true if the identifer is a pattern that is to be evaluated, for example x.* could match x.a or x.b and x.** could match x.foo. |
boolean |
isPermanent()
Get true if this object is permanent. |
void |
setIdentifier(String identifier)
Set the string identifier for a resource. |
void |
setPattern(boolean pattern)
Set true if the identifer is a pattern that is to be evaluated, for example x.* could match x.a or x.b and x.** could match x.foo. |
void |
setPermanent(boolean permanent)
Set true if this object is permanent. |
String |
toString()
Method toString. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JdoResource()
| Method Detail |
|---|
public boolean equals(Object other)
equals in class Objectother -
public String getIdentifier()
getIdentifier in interface org.codehaus.plexus.security.rbac.Resourcepublic int hashCode()
hashCode in class Objectpublic boolean isPattern()
isPattern in interface org.codehaus.plexus.security.rbac.Resourcepublic boolean isPermanent()
isPermanent in interface org.codehaus.plexus.security.rbac.Resourcepublic void setIdentifier(String identifier)
setIdentifier in interface org.codehaus.plexus.security.rbac.Resourceidentifier - public void setPattern(boolean pattern)
setPattern in interface org.codehaus.plexus.security.rbac.Resourcepattern - public void setPermanent(boolean permanent)
setPermanent in interface org.codehaus.plexus.security.rbac.Resourcepermanent - public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||