|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.policy.AuthorizedRoles
public final class AuthorizedRoles
All roles that are needed for requested access and the according obligations that must be fulfilled.
Constructor Summary | |
---|---|
AuthorizedRoles(Set<Role> roles,
ObligationCollection obligations)
Creates a new authorized roles. |
Method Summary | |
---|---|
Set<String> |
getObligations()
Returns the set of obligations for this authorized roles. |
Set<Role> |
getRoles()
Returns the authorized roles. |
boolean |
match(Set<Role> verifiedRoles)
Check if verified roles specified contain all roles of this authorized roles object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthorizedRoles(Set<Role> roles, ObligationCollection obligations)
roles
- a Set
of Role
s.obligations
- an ObligationCollection
.Method Detail |
---|
public boolean match(Set<Role> verifiedRoles)
verifiedRoles
- the verified roles to match.
true
if the verified roles contain all roles of this object,
false
otherwise.public Set<Role> getRoles()
public Set<String> getObligations()
|
![]() |
||||||||
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