com.wles.util
Class DebugGenericPolicy

java.lang.Object
  extended bycom.wles.util.DebugGenericPolicy
Direct Known Subclasses:
DebugAtzPolicy, DebugRolePolicy

public abstract class DebugGenericPolicy
extends java.lang.Object

GenericPolicy represents a general policy rule.


Constructor Summary
DebugGenericPolicy(java.lang.String policyType, java.lang.String resource, java.lang.String subject, java.lang.String constraints, boolean finalResult, DebugConstraintAttribute[] attributes, java.lang.String evalNotes, java.lang.String delegator)
           
 
Method Summary
 DebugConstraintAttribute[] getAttributes()
          returns the list of attributes which were evaluated as part of this rule
 java.util.Hashtable getAttributesAsHashtable(java.lang.String prefix)
           
 java.lang.String getAttributesAsString()
           
 java.lang.String getConstraints()
          the constraints string
 java.lang.String getDelegator()
           
 java.lang.String getNotes()
           
 boolean getPolicyEvalResult()
          return true, if the constraints evaluated to true
 java.lang.String getPolicyType()
          Returns GRANT, if this was a "Grant" policy Returns DENY, if this was a "Deny" policy Returns DELEGATE, if this was a "Delegate" policy
 java.lang.String getResource()
          list of resource present in the query
 java.lang.String getSubject()
          list of subject present in the query
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugGenericPolicy

public DebugGenericPolicy(java.lang.String policyType,
                          java.lang.String resource,
                          java.lang.String subject,
                          java.lang.String constraints,
                          boolean finalResult,
                          DebugConstraintAttribute[] attributes,
                          java.lang.String evalNotes,
                          java.lang.String delegator)
Method Detail

getAttributes

public DebugConstraintAttribute[] getAttributes()
returns the list of attributes which were evaluated as part of this rule


getAttributesAsHashtable

public java.util.Hashtable getAttributesAsHashtable(java.lang.String prefix)

getAttributesAsString

public java.lang.String getAttributesAsString()

getConstraints

public java.lang.String getConstraints()
the constraints string


getDelegator

public java.lang.String getDelegator()

getNotes

public java.lang.String getNotes()

getPolicyEvalResult

public boolean getPolicyEvalResult()
return true, if the constraints evaluated to true


getPolicyType

public java.lang.String getPolicyType()
Returns GRANT, if this was a "Grant" policy Returns DENY, if this was a "Deny" policy Returns DELEGATE, if this was a "Delegate" policy


getResource

public java.lang.String getResource()
list of resource present in the query


getSubject

public java.lang.String getSubject()
list of subject present in the query



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