|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.subject.assignment.RoleAssignment<T>
T
- the context of this role assignment.public final class RoleAssignment<T extends RoleAssignmentContext>
Represents an assignment of roles by an issuer for a specific time period.
Constructor Summary | |
---|---|
RoleAssignment(T context,
URI issuer,
Set<RoleDefinition> roles,
Date validFrom,
Date validTo)
Creates a new role assignment. |
|
RoleAssignment(T context,
URI issuer,
Set<RoleDefinition> roles,
TimePeriod validity)
Creates a new role assignment. |
Method Summary | |
---|---|
T |
getContext()
Returns the context of this assignment. |
URI |
getIssuer()
Returns the issuer of this assignment. |
Set<RoleDefinition> |
getRoleDefinitions()
Returns the assigned role definitions. |
TimePeriod |
getValidity()
Returns the valid time period of this assignment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoleAssignment(T context, URI issuer, Set<RoleDefinition> roles, TimePeriod validity)
context
- the context of this assignment.issuer
- the issuer of the specified roles.roles
- the assigned roles.validity
- the valid time period.public RoleAssignment(T context, URI issuer, Set<RoleDefinition> roles, Date validFrom, Date validTo)
context
- the context of this assignment.issuer
- the issuer of the specified roles.roles
- the assigned roles.validFrom
- validity start of this assignment.validTo
- validity end of this assignment.Method Detail |
---|
public T getContext()
public URI getIssuer()
public TimePeriod getValidity()
public Set<RoleDefinition> getRoleDefinitions()
|
![]() |
||||||||
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