|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessGranter
This is the interface of an authorization class that can make decisions on
whether a Subject
is authorized for a particular Permission
.
This is used by the AccessGranterAccessController
.
Method Summary | |
---|---|
boolean |
hasAccess(Subject s,
Permission p)
Is the subject authorized for the permission? |
Method Detail |
---|
boolean hasAccess(Subject s, Permission p)
s
- The subject. Might be null
.p
- The permission.
true
if the subject is authorized for the permission,
false
if not.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |