| CGIPARSE(8) | DACS Web Services and CGI | CGIPARSE(8) |
cgiparse — CGI argument parsing utility
cgiparse [mode] [-enc
{ none | url | mime | dacs }] [-in filename] [-d] [-nonewline]
[-qs query-string] [-copy filename] [[-n name filename]...]
This program is part of the DACS suite. It is a stand-alone program that neither accepts the usual DACS command e2.2/; </rule> </acl_rule>
The preceding configuration results in the following behaviour.
An unauthenticated user accessing foo.html
(https://example.com/foo.html) is denied access
because the rule governing that web page tests for authentication and no
credentials are sent with the request.
As a result, the
ACS_ERROR_HANDLER
directive causes the user to be redirected to
dacs_autologin_ssl,
which redirects the user to dacs_authenticate,
passing arguments as necessary.
dacs_authenticate then invokes local_cert_authenticate, passing it the client's certificate. The certificate is validated and a username is extracted from it and mapped to a valid DACS username.
If authentication succeeds, DACS credentials
for the jurisdiction EXAMPLE are generated.
These credentials are returned to the browser within a cookie and
the browser is redirected to the value of
DACS_ERROR_URL
(recall that DACS_ERROR_URL
was passed to dacs_autologin_ssl
by dacs_acs when the 902
handler was invoked and was forwarded to
dacs_authenticate).
In this example the user is redirected to
https://example.com/foo.html.
Given the rule above, this time the user's request for
foo.html will be granted.
dacs_autologin_ssl may also be used as the target of an explicit authentication link. For example:
<a href="https://example.com/cgi-bin/dacs/dacs_autologin_ssl?\ AUTH_JURISDICTION=EXAMPLE&\ DACS_ERROR_URL=https://example.com/cgi-bin/dacs/dacs_current_credentials">Login</a>
Following the link should result in the user being authenticated and redirected to the specified URL.
Copyright 2003-2012 Distributed Systems Software.
See the
LICENSE
file that accompanies the distribution
for licensing information.
| DACS Version 1.4.27b | 22-Okt-2012 | DACS_AUTOLOGIN_SSL(8) |
| Table of Contents | ![]() |
Font:
|
−− | Set | ++ |
$Id: dacs_autologin_ssl.8.xml 2563 2012-02-07 22:40:41Z brachman $