com.ibm.tscc.rtss.authz.api

Interface IExternalRule


  1. public interface IExternalRule

Is a "black-box" service that can be invoked during policy evaluation. This service can return Permit, Deny, Not Applicable, or Indeterminate.

An example of an external rule is a call to a business rules engine.

Since:
7.1.0.1
See Also:
RequestContext

Nested Class Summary

Modifier and Type Interface and Description
  1. static class
IExternalRule.Decision
Defines the response for authorization decisions.

Method Summary

Modifier and Type Method and Description
  1. IExternalRule.Decision
evaluate(RequestContext context)
Called at runtime during a policy evaluation to evaluate the data in the current request and return a decision.
  1. void
shutdown()
Called on system shutdown or re-initialization of Tivoli Runtime Security Services configuration.
  1. void
startup(java.util.Properties props)
Called on initialization.

Method Detail

startup

  1. void startup(java.util.Properties props)
Called on initialization. The Properties passed are from the Tivoli Runtime Security Services configuration file.
Parameters:
props - properties read from the configuration file.

shutdown

  1. void shutdown()
Called on system shutdown or re-initialization of Tivoli Runtime Security Services configuration. Enables the plugin to clean up.

evaluate

  1. IExternalRule.Decision evaluate( RequestContext context)
Called at runtime during a policy evaluation to evaluate the data in the current request and return a decision.
Parameters:
context - access to information about the current authorization request.
Returns:
the decision for the rule.