Using the Authorization API, you can implement custom access control functionality. To implement custom access control functionality, you must:
The shared library must contain one or more functions defined as exportable symbols. SmApi.h defines all of the data structures necessary to create custom policy, rule, and response plug-ins.
For example, you might define an active policy that returns true if the user belongs to a particular organizational unit (ou) in an LDAP directory as defined in the parameter (param) field of the active policy expression.
For example, you might define an active response that returns a user's common name (cn) if the user belongs to the ou specified in the param field of the active response expression.
For example, you might define an active rule that returns true if a user is a member of a group, such as Directory Administrator, that has permission to view a realm.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |