com.novell.nxpe
Interface NxpeInformationContext


public interface NxpeInformationContext

Defines the interface for contextual information passed through the policy engine to the extensions.

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)
          Retrieves the request context information from the application.
 boolean isLoggingEnabled()
          Retrieves the logging status for the requested evaluation.
 boolean isTracingEnabled()
          Deprecated. 

Retrieves the tracing status for the requested evaluation.

When tracing is enabled, the nxpeResponseContext method addTraceString is initiated for each rule, condition set, condition, and action initiated as part of the evaluation process.

 boolean parameterIsTracable(int pepInformationEnumerativeValue, java.lang.String paramValue)
          Deprecated. 

Determines if the parameter can be written to the policy trace log.

 boolean valueIsTracable(int pepInformationEnumerativeValue, java.lang.String paramValue)
          Deprecated. 

Determines if the value can be written to the policy trace log.

 

Method Detail

isLoggingEnabled

boolean isLoggingEnabled()
                         throws NxpeException
Retrieves the logging status for the requested evaluation.

When logging is enabled, the nxpeResponseContext methods setPolicy, setRule, setAction are initiated for each action triggered by the policy evaluation.

Returns:
True if logging is enabled.
Throws:
NxpeException

isTracingEnabled

boolean isTracingEnabled()
                         throws NxpeException
Deprecated. 

Retrieves the tracing status for the requested evaluation.

When tracing is enabled, the nxpeResponseContext method addTraceString is initiated for each rule, condition set, condition, and action initiated as part of the evaluation process.

Returns:
True if evaluation tracing is enabled.
Throws:
NxpeException

getData

java.lang.Object getData(NxpeParameter nxpeParameter)
                         throws NxpeException
Retrieves the request context information from the application.

Parameters:
nxpeParameter - The ID of the information you want back from the context information object.
Returns:
The parameter information.
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. 

Throws:
NxpeException

parameterIsTracable

boolean parameterIsTracable(int pepInformationEnumerativeValue,
                            java.lang.String paramValue)
                            throws NxpeException
Deprecated. 

Determines if the parameter can be written to the policy trace log.

Parameters:
pepInformationEnumerativeValue - The enumerative value tag for the data.
paramValue - The 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
Deprecated. 

Determines if the value can be written to the policy trace log.

Parameters:
pepInformationEnumerativeValue - The enumerative value tag for the data
paramValue - The 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, 2012 Novell,Inc. All Rights Reserved.