|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authorization
Instances of classes that implement this interface take context and command info and lookup whether the user can execute the specified handler.
Method Summary | |
---|---|
Decision |
evaluate(java.util.Map<java.lang.String,java.lang.String> resource,
javax.security.auth.Subject subject,
java.lang.String action,
java.util.Set<Attribute> environment)
Evaluate the authorization request and return if this request is valid. |
java.util.Set<Decision> |
evaluate(java.util.Set<java.util.Map<java.lang.String,java.lang.String>> resources,
javax.security.auth.Subject subject,
java.util.Set<java.lang.String> actions,
java.util.Set<Attribute> environment)
Make a multiple resource determination. |
Method Detail |
---|
Decision evaluate(java.util.Map<java.lang.String,java.lang.String> resource, javax.security.auth.Subject subject, java.lang.String action, java.util.Set<Attribute> environment)
resource
- The properties that identify the resource.subject
- The properties that represent the subject.action
- A set of actions that are being requested on the resource.environment
- A set of environment properties (hostname, time of day, etc.)
java.util.Set<Decision> evaluate(java.util.Set<java.util.Map<java.lang.String,java.lang.String>> resources, javax.security.auth.Subject subject, java.util.Set<java.lang.String> actions, java.util.Set<Attribute> environment)
resources
- subject
- actions
- environment
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |