Oracle Entitlements Server for Java API Reference

com.bea.security
Interface GenericPolicy

All Known Implementing Classes:
RolePolicy, AtzPolicy

public interface GenericPolicy

GenericPolicy represents a general policy rule.

Author:
Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.

Method Summary
 ConstraintAttribute[] getAttributes()
          Returns the attributes which were evaluated as part of this policy
 java.lang.String getConstraints()
          Returns the constraints in this policy
 java.lang.String getNotes()
          Returns additional information about policy evaluation
 boolean getPolicyEvalResult()
          Returns the policy evaluation result
 java.lang.String getPolicyType()
          Returns the type of policy
 java.lang.String getResource()
          Returns the queried resource
 java.lang.String getSubject()
          Returns the subject in this policy
 

Method Detail

getPolicyType

public java.lang.String getPolicyType()
Returns the type of policy

Returns:
Returns the type of policy (i.e. "grant", "deny" or "deligate")

getResource

public java.lang.String getResource()
Returns the queried resource

Returns:
Returns the queried resource

getSubject

public java.lang.String getSubject()
Returns the subject in this policy

Returns:
Returns the subject in this policy

getConstraints

public java.lang.String getConstraints()
Returns the constraints in this policy

Returns:
Returns the constraints in this policy

getPolicyEvalResult

public boolean getPolicyEvalResult()
Returns the policy evaluation result

Returns:
Returns the policy evaluation result. "True" it the policy evaluated to true, "false" otherwise

getAttributes

public ConstraintAttribute[] getAttributes()
Returns the attributes which were evaluated as part of this policy

Returns:
Returns the attributes which were evaluated as part of this policy

getNotes

public java.lang.String getNotes()
Returns additional information about policy evaluation

Returns:
Returns additional information about policy evaluation