Authorization over a bound session-managed connection
- Last Updated: January 27, 2016
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The following code shows a typical authentication and authorization example:
|
First, the user_id and password established
by the client application's CONNECT( ) method are
authenticated against an external source (in this case, valid users are identified in a
database table named app_user). Secondly, the particular user is
authorized to request execution of an established, user-specific, list of procedures
(entry points) through the EXPORT( ) method.
To create a tighter security model, establish an export list in conjunction
with OpenEdge authentication of a client-principal that you initialize with
pcPassword and pcUserId to restrict access from
the client applications host to the remote procedure sources. For more information on
authenticating with a client-principal and OpenEdge security, see sections on
application security in OpenEdge Development: Programming Interfaces.