com.novell.nxpe
Interface NxpeAction


public interface NxpeAction

Defines the interface that you need to extend.

It contains the methods required to implement a deny, permit, or obligation action.

Since:
NXPE1.0
Author:
Paladin Team

Method Summary
 NxpeResult doAction(NxpeInformationContext informationCtx, NxpeResponseContext responseCtx)
          Called by the policy engine when the action extension needs to be evaluated for a policy.
 void initialize(NxpeParameterList configurationValues)
          Called by the policy engine and therefore must be implemented.
 void setInterfaceId(java.lang.String interfaceId)
          Sets the unique string value for the action.
 

Method Detail

initialize

void initialize(NxpeParameterList configurationValues)
                throws NxpeException
Called by the policy engine and therefore must be implemented. It initializes the element and passes to your extenstion any configuration values you have requested.

Parameters:
configurationValues - The object containing requested configuration values.
Throws:
NxpeException

doAction

NxpeResult doAction(NxpeInformationContext informationCtx,
                    NxpeResponseContext responseCtx)
                    throws NxpeException
Called by the policy engine when the action extension needs to be evaluated for a policy.

Parameters:
informationCtx - The parameter information the extension needs from the policy engine to evaluate the condition.
responseCtx - The results of the action.
Returns:
The result of the action.
Throws:
NxpeException

setInterfaceId

void setInterfaceId(java.lang.String interfaceId)
                    throws NxpeException
Sets the unique string value for the action. This value is used for tracing the action during policy evaluation.

Parameters:
interfaceID - The unique string value for the action.
Throws:
NxpeException


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