org.openpermis.policy
Class AuthorizedRoles
java.lang.Object
org.openpermis.policy.AuthorizedRoles
public final class AuthorizedRoles
- extends Object
All roles that are needed for requested access and the according obligations that must be
fulfilled.
- Since:
- 0.3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roles
private Set<Role> roles
obligations
private ObligationCollection obligations
AuthorizedRoles
public AuthorizedRoles(Set<Role> roles,
ObligationCollection obligations)
- Creates a new authorized roles.
- Parameters:
roles
- a Set
of Role
s.obligations
- an ObligationCollection
.
getRoles
public Set<Role> getRoles()
- Returns the authorized roles.
- Returns:
- the authorized roles.
- Since:
- 0.3.0
getObligations
public Set<String> getObligations()
- Returns the set of obligations for this authorized roles.
- Returns:
- the set of obligations for this authorized roles.
- Since:
- 0.3.0
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:22
Copyright (c) 2002-2007 Ergon Informatik AG