|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Subject
A subject is an entity that requests access to resources.
Method Summary | |
---|---|
Set<RoleDefinition> |
getAssignedRoleDefinitions(TimeStamp timeStamp,
TimePeriodConstraint constraint)
Returns a set of role definitions held by this subject at the current time. |
Set<Role> |
getAssignedRoles(TimeStamp timeStamp,
TimePeriodConstraint constraint,
Set<Role> roles)
Returns a subset of all roles held by this subject at the current time. |
Set<Subject> |
getIssuersOf(Role role)
Returns the subjects who issued the role to this. |
Methods inherited from interface org.openpermis.policy.Identifiable |
---|
getIdentity |
Method Detail |
---|
Set<RoleDefinition> getAssignedRoleDefinitions(TimeStamp timeStamp, TimePeriodConstraint constraint)
timeStamp
- the current time, a TimeStamp
.constraint
- to constrain the time period of the role assignment.
null
but may be empty if the subject does not hold any roles.Set<Role> getAssignedRoles(TimeStamp timeStamp, TimePeriodConstraint constraint, Set<Role> roles)
timeStamp
- the current time, a TimeStamp
.constraint
- to constrain the time period of the role assignment.roles
- a set of Role
s.
roles
containing only those roles that have
been assigned to this subject.Set<Subject> getIssuersOf(Role role) throws SubjectException
role
- a Role
. The subject assumes that it previously confirmed
with getAssignedRoles(TimeStamp, TimePeriodConstraint, Set)
to have this role.
SubjectException
- signals a problem in finding an issuer.
|
![]() |
||||||||
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