|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TargetAccessRuleBean
A target access rule defines a set of roles that are allowed to access a target.
Method Summary | |
---|---|
PredicateBean |
getCondition()
Returns the condition of this access rule. |
ObligationBeanCollection |
getObligations()
Returns the obligations of this rule. |
RoleCollection |
getRoles()
Returns the roles to which this rule grants access. |
TargetBeanCollection |
getTargets()
Returns the targets of this access rule. |
void |
removeObligation(ObligationBean part)
Removes an obligation child element. |
void |
removeTarget(TargetBean part)
Removes a target child element. |
void |
setCondition(PredicateBean condition)
Sets the condition of this access rule. |
void |
setObligations(ObligationBeanCollection obligations)
Sets the obligations of this rule. |
void |
setRoles(RoleCollection roles)
Sets the roles to which this rule grants access. |
void |
setTargets(TargetBeanCollection targets)
Sets the targets of this access rule. |
Methods inherited from interface org.openpermis.policy.TargetAccessRule |
---|
findAuthorizedRoleSet |
Methods inherited from interface org.openpermis.policy.bean.PartBean |
---|
accept, accept, addPropertyChangeListener, checkLocalPartConsistency, equalSerialNumber, findBySerialNumber, getPartBeanType, getSerialNumber, instanceOf, removePropertyChangeListener, toShortString |
Methods inherited from interface org.openpermis.policy.Part |
---|
equals, hashCode, toString |
Method Detail |
---|
TargetBeanCollection getTargets()
void setTargets(TargetBeanCollection targets)
targets
- the new targets of this access rule.PredicateBean getCondition()
PredicateBean
the condition of this access rule.void setCondition(PredicateBean condition)
condition
- a PredicateBean
.RoleCollection getRoles()
void setRoles(RoleCollection roles)
roles
- the new roles to which this rule grants access.void removeTarget(TargetBean part)
void removeObligation(ObligationBean part)
ObligationBeanCollection getObligations()
void setObligations(ObligationBeanCollection obligations)
obligations
- the new obligations of this rule.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG