HP-UX AAA Server A.08.01 administrator's guide (T1428-90072, May 2010)

Table Of Contents
Value Types..................................................................................................................430
Arithmetic Expressions...............................................................................................431
Arithmetic Operator Precedence and Association.................................................431
Supported Boolean Operators.....................................................................................432
Boolean Operator Precedence and Association.....................................................433
Type Compatibility......................................................................................................434
Invoking a Policy..............................................................................................................435
Invoking Policies Through Predefined Policy Hooks.................................................435
Request Ingress Policy............................................................................................435
User Policy..............................................................................................................436
Invoking Policy from User Profiles...................................................................437
Reply Egress Policy................................................................................................437
Proxy Egress Policy................................................................................................438
Proxy Ingress Policy...............................................................................................439
Useful Attributes for Policy Conditions......................................................................440
Modifying the FSM for Specific Customizations .......................................................441
Sample Policy Implementations.......................................................................................442
Dynamic Access Control.............................................................................................442
Step 1 Modifying the Default FSM for DAC.......................................................442
Step 2 Defining the DAC Policies........................................................................443
DNIS Routing..............................................................................................................444
Step 1 Modifying the Default FSM for DNIS Routing........................................444
Step 2 Defining the DNIS Routing Policies.........................................................444
28 Customizing the HP-UX AAA Server Using the SDK..................................................................446
SDK Overview..................................................................................................................446
Migrating Plug-ins Created Using Previous Versions of the SDK...................................448
Prerequisites for Using the SDK.......................................................................................448
SDK Directory Structure...................................................................................................448
SDK Concepts...................................................................................................................448
Overview of AATVs....................................................................................................448
AATV Components.....................................................................................................449
The init Function.................................................................................................449
The action Function................................................................................................449
The timer or callback Function...............................................................................450
The cleanup Function.............................................................................................450
Creating Plug-ins..............................................................................................................450
Using AATVs to Create a Plug-in................................................................................451
Compiling and Loading a Plug-in...............................................................................452
Testing and Debugging a Plug-in................................................................................453
Using the GNU Project Debugger..........................................................................453
Using gdb to Debug Your Software Module....................................................453
Creating Plug-ins for AATVs............................................................................................454
A3 and A8 Algorithm Plug-in for EAP-SIM...............................................................454
394 Table of Contents