|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.policy.bean.basic.BasicPart
org.openpermis.policy.bean.basic.BasicPartBean
org.openpermis.policy.bean.basic.BasicAbstractCollection<RoleAssignmentRuleBean>
org.openpermis.policy.bean.basic.BasicRoleAssignmentRuleCollection
public class BasicRoleAssignmentRuleCollection
Basic implementation of RoleAssignmentRuleBeanCollection
.
Constructor Summary | |
---|---|
protected |
BasicRoleAssignmentRuleCollection(SerialNumber serialNumber)
Creates a basic role assignment rule collection. |
protected |
BasicRoleAssignmentRuleCollection(SerialNumber serialNumber,
Collection<RoleAssignmentRuleBean> collection)
Creates a basic role assignment rule collection. |
Method Summary | |
---|---|
BasicRoleAssignmentRuleCollection |
create(List<RoleAssignmentRuleBean> list)
Returns a new bean collection containing the list. |
protected boolean |
isCollectionType(BasicPart part)
Returns true if collection type of part is an instance of this collection. |
Set<Role> |
verifyRoleAssignments(Subject subject,
Set<Role> assertedRoles,
TimeStamp timeStamp)
Verifies the assignment of the given roles to the given subject according to this collection of rules, using the clock. |
Methods inherited from class org.openpermis.policy.bean.basic.BasicAbstractCollection |
---|
appendPartDetails, comparablePart, equalPart, findBySerialNumber, getCollection, isPartValid, iterator, partHashCode, toList |
Methods inherited from class org.openpermis.policy.bean.basic.BasicPartBean |
---|
addPropertyChangeListener, equalSerialNumber, firePropertyChange, getPartBeanType, getSerialNumber, getSerialNumberString, notifyIdentityChange, notifyNameChange, removePropertyChangeListener, toShortString |
Methods inherited from class org.openpermis.policy.bean.basic.BasicPart |
---|
appendDetails, equals, getIdentity, getName, getSimpleClassName, hashCode, hasPartIdentity, hasPartName, isChildCollectionValid, isChildNotNull, isChildNullOrValid, isChildValid, isIdentityValid, isNameValid, isValid, reportProblem, setIdentity, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openpermis.policy.bean.BeanCollection |
---|
iterator, toList |
Methods inherited from interface org.openpermis.policy.bean.PartBean |
---|
addPropertyChangeListener, equalSerialNumber, findBySerialNumber, getPartBeanType, getSerialNumber, removePropertyChangeListener, toShortString |
Constructor Detail |
---|
protected BasicRoleAssignmentRuleCollection(SerialNumber serialNumber)
serialNumber
- the serial number of this part.protected BasicRoleAssignmentRuleCollection(SerialNumber serialNumber, Collection<RoleAssignmentRuleBean> collection)
serialNumber
- the serial number of this part.collection
- a collection of RoleAssignmentRuleBean
's.Method Detail |
---|
public Set<Role> verifyRoleAssignments(Subject subject, Set<Role> assertedRoles, TimeStamp timeStamp)
RoleAssignmentRuleCollection
verifyRoleAssignments
in interface RoleAssignmentRuleCollection
subject
- a Subject
.assertedRoles
- a set of Role
s.timeStamp
- a TimeStamp
.
protected boolean isCollectionType(BasicPart part)
BasicAbstractCollection
isCollectionType
in class BasicAbstractCollection<RoleAssignmentRuleBean>
part
- a BasicPart
.
public BasicRoleAssignmentRuleCollection create(List<RoleAssignmentRuleBean> list)
BeanCollection
create
in interface BeanCollection<RoleAssignmentRuleBean>
list
- a List
.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:10
Copyright (c) 2002-2007 Ergon Informatik AG