com.novell.nxpe
Interface NxpeInformationContext


public interface NxpeInformationContext

Interface for contextual information passed through NxpePolicy to condition handlers.

Since:
NXPE1.0
Author:
Paladin Team

Method Summary
 java.lang.Object getData(int pepInformationEnumerativeValue)
          Deprecated.  
 java.lang.Object getData(int pepInformationEnumerativeValue, java.lang.String paramValue)
          Deprecated.  
 java.lang.Object getData(int pepInformationEnumerativeValue, java.lang.String paramValue, int iForceDataRead)
          Deprecated.  
 java.lang.Object getData(NxpeParameter nxpeParameter)
           
 boolean isLoggingEnabled()
          retrieve logging status for the requested evaluation When logging is enabled, the nxpeResponseContext methods setPolicy, setRule, setAction will be initiated for each action triggered by the policy evaluation.
 boolean isTracingEnabled()
          retrieve tracing status for the requested evaluation When tracing is enabled, the nxpeResponseContext method addTraceString will be initiated for each rule, condition set, condition and action initiated as part of the evaluation process.
 boolean parameterIsTracable(int pepInformationEnumerativeValue, java.lang.String paramValue)
          determine if the parameter can be written to the policy trace log
 boolean valueIsTracable(int pepInformationEnumerativeValue, java.lang.String paramValue)
          determine if the value can be written to the policy trace log
 

Method Detail

isLoggingEnabled

boolean isLoggingEnabled()
                         throws NxpeException
retrieve logging status for the requested evaluation When logging is enabled, the nxpeResponseContext methods setPolicy, setRule, setAction will be initiated for each action triggered by the policy evaluation.

Returns:
true if logging is enabled
Throws:
NxpeException

isTracingEnabled

boolean isTracingEnabled()
                         throws NxpeException
retrieve tracing status for the requested evaluation When tracing is enabled, the nxpeResponseContext method addTraceString will be initiated for each rule, condition set, condition and action initiated as part of the evaluation process. For more information on trace string format, see ??

Returns:
true if evaluation tracing is enabled
Throws:
NxpeException

getData

java.lang.Object getData(NxpeParameter nxpeParameter)
                         throws NxpeException
Throws:
NxpeException

getData

java.lang.Object getData(int pepInformationEnumerativeValue)
                         throws NxpeException
Deprecated. 

Throws:
NxpeException

getData

java.lang.Object getData(int pepInformationEnumerativeValue,
                         java.lang.String paramValue)
                         throws NxpeException
Deprecated. 

Throws:
NxpeException

getData

java.lang.Object getData(int pepInformationEnumerativeValue,
                         java.lang.String paramValue,
                         int iForceDataRead)
                         throws NxpeException
Deprecated. 

retrieve request context information from the application

Parameters:
object - to receive data value
Returns:
parameter data for the data query
Throws:
NxpeException

parameterIsTracable

boolean parameterIsTracable(int pepInformationEnumerativeValue,
                            java.lang.String paramValue)
                            throws NxpeException
determine if the parameter can be written to the policy trace log

Parameters:
enumerative - value tag for the data
parameter - value that was used for the data query
Returns:
true if value can be included in the trace output
Throws:
NxpeException

valueIsTracable

boolean valueIsTracable(int pepInformationEnumerativeValue,
                        java.lang.String paramValue)
                        throws NxpeException
determine if the value can be written to the policy trace log

Parameters:
pepInformationEnumerativeValue - enumerative value tag for the data
paramValue - parameter value that was used for the data query
Returns:
true if value can be included in the trace output
Throws:
NxpeException


Copyright © 2005-2009 Novell, Inc. All Rights Reserved.