|
![]() |
||||||||
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<Role> |
getAssignedRoles(TimeStamp timeStamp,
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. |
TimePeriod |
getValidityOf(Role role,
Subject issuer)
Returns the TimePeriod of the specific role assignment consisting of issuer and role. |
Methods inherited from interface org.openpermis.policy.Identifiable |
---|
getIdentity |
Method Detail |
---|
Set<Role> getAssignedRoles(TimeStamp timeStamp, Set<Role> roles)
timeStamp
- the current time, a TimeStamp
.roles
- a set of Role
s.
roles
containing only those roles that have
been assigned to this subject.Set<Subject> getIssuersOf(Role role)
role
- a Role
. The subject assumes that it previously confirmed
with getAssignedRoles(TimeStamp, Set)
to have this role.
TimePeriod getValidityOf(Role role, Subject issuer)
TimePeriod
of the specific role assignment consisting of issuer and role.
role
- a Role
that was assigned.issuer
- a Subject
that assigned the role.
TimePeriod
of the specific role assignment consisting of issuer and role.
|
![]() |
||||||||
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