com.ibm.tscc.rtss.authz.api
Interface IExternalRule
- 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:
Nested Class Summary
Modifier and Type | Interface and Description |
---|---|
|
IExternalRule.Decision
Defines the response for authorization decisions.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
evaluate(RequestContext context)
Called at runtime during a policy evaluation to evaluate the data in the current request and return a decision.
|
|
|
shutdown()
Called on system shutdown or re-initialization of Tivoli Runtime Security Services configuration.
|
|
startup(java.util.Properties props)
Called on initialization.
|
Method Detail
startup
- 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
- void shutdown()
Called on system shutdown or re-initialization of Tivoli Runtime Security Services configuration. Enables
the plugin to clean up.
evaluate
- 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.