com.novell.nxpe
Interface NxpeCondition


public interface NxpeCondition

Since:
NXPE1.0
Author:
Paladin Team

Method Summary
 NxpeResult evaluate(NxpeInformationContext informationContext, NxpeResponseContext responseContext)
          Called by Nxpe to evaluate the condition Notes: Derived classes are require to override this method to implement the supported condition
 void initialize(NxpeParameterList configurationValues)
          Called by Nxpe to initialize the condition in preparation for policy evaluation Notes: Derived classes are required to override this method.
 void setInterfaceId(java.lang.String interfaceId)
          Set the unique string value for the condition Notes: This is currently the InterfaceId found in the condition element This data is used for tracing evaluation
 

Method Detail

initialize

void initialize(NxpeParameterList configurationValues)
                throws NxpeException
Called by Nxpe to initialize the condition in preparation for policy evaluation Notes: Derived classes are required to override this method. This method is guaranteed to be called before any other method is called, as this is part of object construction.

Parameters:
configurationParameters - List of configuration data required by the external condition Handler. This object is only valid during the lifetime of the init() method. If the condition wants to preserve config data, it must be copied to the condition handler.
Throws:
NxpeException

evaluate

NxpeResult evaluate(NxpeInformationContext informationContext,
                    NxpeResponseContext responseContext)
                    throws NxpeException
Called by Nxpe to evaluate the condition Notes: Derived classes are require to override this method to implement the supported condition

Parameters:
informationContext - the PEP information context to query for values
responseContext - object for communicating detailed response information back to the application. This does not replace the need to notify Nxpe of the condition completion status via the return value from this call.
Throws:
NxpeException

setInterfaceId

void setInterfaceId(java.lang.String interfaceId)
                    throws NxpeException
Set the unique string value for the condition Notes: This is currently the InterfaceId found in the condition element This data is used for tracing evaluation

Parameters:
interfaceId - Condition interface id from policy collection
Throws:
NxpeException


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