Authentication and Authorization APIs › Use the Authorization API › Active Expressions
Active Expressions
Active expressions are constructed in the Policy Server User Interface using the following syntax:
<@ lib=<lib-spec> func=<func-spec> param=<func-params>@>
An active expression based on the Java Authorization API has the following required fields:
- lib contains the shared library name smjavaapi. This library is used with all active expressions that reference a custom Java class in param.
- func contains the function name JavaActiveExpression. This function is the entry point for the smjavaapi library. It is used with all active expressions that reference a custom Java class in param.
- param contains the following information.
- The name of your custom Java class
- Optionally, any parameters to pass to an instance of your class
You define an active expression when you configure the active policy, rule, or response in the Policy Server User Interface.
Copyright © 2009 CA.
All rights reserved.