|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Object
other
-
public String getIdentifier()
getIdentifier
in interface org.codehaus.plexus.security.rbac.Resource
public int hashCode()
hashCode
in class Object
public boolean isPattern()
isPattern
in interface org.codehaus.plexus.security.rbac.Resource
public boolean isPermanent()
isPermanent
in interface org.codehaus.plexus.security.rbac.Resource
public void setIdentifier(String identifier)
setIdentifier
in interface org.codehaus.plexus.security.rbac.Resource
identifier
- public void setPattern(boolean pattern)
setPattern
in interface org.codehaus.plexus.security.rbac.Resource
pattern
- public void setPermanent(boolean permanent)
setPermanent
in interface org.codehaus.plexus.security.rbac.Resource
permanent
- public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |