|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.migration.model24.portal.ObjectNodeSecurityConstraint
Binds a role and a set of actions together. This object is immutable.
A portal resource (portal, page, window, instance, portlet...) is secured via a set of security constraints. each security constraint holds the information about what roles are allowed what actions.
Constructor Summary | |
ObjectNodeSecurityConstraint()
|
|
ObjectNodeSecurityConstraint(java.util.Set actions,
java.lang.String role)
Create a new constraint with the provided actions and the specified role. |
Method Summary | |
java.util.Set |
getActions()
Return a java.util.Set of allowed actions. |
protected long |
getKey()
|
ObjectNode24 |
getObjectNode()
|
java.lang.String |
getRole()
Return the role of this constraint |
void |
setActions(java.util.Set actions)
|
protected void |
setKey(long key)
|
void |
setObjectNode(ObjectNode24 objectNode)
|
void |
setRole(java.lang.String role)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ObjectNodeSecurityConstraint()
public ObjectNodeSecurityConstraint(java.util.Set actions, java.lang.String role)
actions
- the set of actionsrole
- the role nameMethod Detail |
public java.util.Set getActions()
java.util.Set
of allowed actions.
public void setActions(java.util.Set actions)
public java.lang.String getRole()
public void setRole(java.lang.String role)
public ObjectNode24 getObjectNode()
public void setObjectNode(ObjectNode24 objectNode)
protected void setKey(long key)
protected long getKey()
public java.lang.String toString()
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |