Oracle Entitlements Server for Java API Reference

com.bea.security
Class AtzPolicy

java.lang.Object
  |
  +--com.bea.security.AtzPolicy

public class AtzPolicy
extends java.lang.Object
implements GenericPolicy

AtzPolicy represents the result each ATZ policy evaluated

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

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 getDelegator()
          Gets delegator of delegate policy
 java.lang.String getNotes()
          Gets additional info about policy evaluation
 boolean getPolicyEvalResult()
          Returns the policy evaluation result
 java.lang.String getPolicyType()
          Returns the type of policy
 java.lang.String getPrivilege()
          Gets the privilege string
 java.lang.String getResource()
          Returns the queried resource
 java.lang.String getSubject()
          Returns the subject in this policy
 java.lang.String toString()
          Returns the string representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getPrivilege

public java.lang.String getPrivilege()
Gets the privilege string

Returns:
Returns the "privilege" part of the policy

getNotes

public java.lang.String getNotes()
Gets additional info about policy evaluation
Specified by:
getNotes in interface GenericPolicy

Returns:
Returns additional info about policy evaluation

getPolicyType

public java.lang.String getPolicyType()
Returns the type of policy
Specified by:
getPolicyType in interface GenericPolicy

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

getResource

public java.lang.String getResource()
Returns the queried resource
Specified by:
getResource in interface GenericPolicy

Returns:
Returns the queried resource

getSubject

public java.lang.String getSubject()
Returns the subject in this policy
Specified by:
getSubject in interface GenericPolicy

Returns:
Returns the subject in this policy

getConstraints

public java.lang.String getConstraints()
Returns the constraints in this policy
Specified by:
getConstraints in interface GenericPolicy

Returns:
Returns the constraints in this policy

getPolicyEvalResult

public boolean getPolicyEvalResult()
Returns the policy evaluation result
Specified by:
getPolicyEvalResult in interface GenericPolicy

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
Specified by:
getAttributes in interface GenericPolicy

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

toString

public java.lang.String toString()
Returns the string representation of this object

Returns:
Returns the string representation of this object
Overrides:
toString in class java.lang.Object

getDelegator

public java.lang.String getDelegator()
Gets delegator of delegate policy

Returns:
Returns delegator of delegate policy