|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.rbac.policies.UserAction issrg.pba.rbac.policies.UserActionTargetName
public class UserActionTargetName
Class representing a user action on a target represented as a target name.
Constructor Summary | |
---|---|
UserActionTargetName(java.lang.String actionName,
java.lang.String targetName)
Constructs a UserActionTargetName object given the
name and the target. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Returns a string representing the action name. |
java.lang.String |
getTarget()
Returns a string representing the target. |
boolean |
matches(java.lang.String action,
java.lang.String target)
Decides whether or not the given action and target match this object. |
Methods inherited from class issrg.pba.rbac.policies.UserAction |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UserActionTargetName(java.lang.String actionName, java.lang.String targetName)
UserActionTargetName
object given the
name and the target.
actionName
- the name of the actiontargetName
- the name of the targetMethod Detail |
---|
public java.lang.String getAction()
getAction
in class UserAction
public java.lang.String getTarget()
getTarget
in class UserAction
public boolean matches(java.lang.String action, java.lang.String target)
matches
in class UserAction
action
- the requested actiontarget
- the requested target
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |