|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.plexus.security.rbac.AbstractUserAssignment org.codehaus.plexus.security.authorization.rbac.jdo.v0_9_0.JdoUserAssignment
public class JdoUserAssignment
binding of a principal to a role.
Field Summary |
---|
Fields inherited from interface org.codehaus.plexus.security.rbac.UserAssignment |
---|
ROLE |
Constructor Summary | |
---|---|
JdoUserAssignment()
|
Method Summary | |
---|---|
boolean |
equals(Object other)
Method equals. |
String |
getPrincipal()
Get the principal field. |
List |
getRoleNames()
Method getRoleNames. |
Date |
getTimestamp()
Get the timestamp field. |
int |
hashCode()
Method hashCode. |
boolean |
isPermanent()
Get true if this object is permanent. |
void |
setPermanent(boolean permanent)
Set true if this object is permanent. |
void |
setPrincipal(String principal)
Set the principal field. |
void |
setRoleNames(List roleNames)
Set the roleNames field. |
void |
setTimestamp(Date timestamp)
Set the timestamp field. |
String |
toString()
Method toString. |
Methods inherited from class org.codehaus.plexus.security.rbac.AbstractUserAssignment |
---|
addRoleName, addRoleName, removeRoleName, removeRoleName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.codehaus.plexus.security.rbac.UserAssignment |
---|
addRoleName, addRoleName, removeRoleName, removeRoleName |
Constructor Detail |
---|
public JdoUserAssignment()
Method Detail |
---|
public boolean equals(Object other)
equals
in class Object
other
-
public String getPrincipal()
getPrincipal
in interface org.codehaus.plexus.security.rbac.UserAssignment
public List getRoleNames()
getRoleNames
in interface org.codehaus.plexus.security.rbac.UserAssignment
public Date getTimestamp()
public int hashCode()
hashCode
in class Object
public boolean isPermanent()
isPermanent
in interface org.codehaus.plexus.security.rbac.UserAssignment
public void setPermanent(boolean permanent)
setPermanent
in interface org.codehaus.plexus.security.rbac.UserAssignment
permanent
- public void setPrincipal(String principal)
setPrincipal
in interface org.codehaus.plexus.security.rbac.UserAssignment
principal
- public void setRoleNames(List roleNames)
setRoleNames
in interface org.codehaus.plexus.security.rbac.UserAssignment
roleNames
- public void setTimestamp(Date timestamp)
timestamp
- public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |