org.openpermis.policy
Interface RoleAssignmentRule
- All Superinterfaces:
- Part, Serializable
- All Known Subinterfaces:
- RoleAssignmentRuleBean
- All Known Implementing Classes:
- BasicRoleAssignmentRule
public interface RoleAssignmentRule
- extends Part
A rule for assigning roles to subjects.
- Since:
- 0.1.0
verifyRoleAssignment
Set<Role> verifyRoleAssignment(Subject subject,
Set<Role> assertedRoles,
TimeStamp timeStamp)
throws SubjectException
- Verifies the assignment of the given roles to the given subject according to this rule,
using the clock.
- Parameters:
subject
- a Subject
.assertedRoles
- a set of Role
s.timeStamp
- a TimeStamp
.
- Returns:
- the roles which are correctly assigned.
- Throws:
SubjectException
- signals a problem in reading subjects.- Since:
- 0.1.0
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG