summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add permanent session keys supportsessionsSimo Sorce2014-07-093-27/+94
| | | | | | | | | Keys (encryption+MAC) can now be stored in apache configuration. The key must be a base64 encoded blob of original length of 32 bytes (16 bytes for encryption and 16 for the MAC key) The format is: key:<base64 blob>
* Add mod_session supportSimo Sorce2014-07-094-16/+460
| | | | | | | | | | | | By setting GssapiUseSessions we enable the module to store a bearer token with the user and gss names in the client, this way we can allow clients to perform authentication once but then remain authenticaed for the duration of the session or until the original credentials expire. The Secure cookie used to store the token is encrypted using a randomly generated AES key at process startup. This means multiple apache servers will not be able to use the same cookie, however the client will reauth transparently if the cookie cannot be read.
* Fix typoSimo Sorce2014-04-241-1/+1
|
* Use more readable configuration option names.Simo Sorce2014-04-211-9/+9
|
* Simplify configure.ac and makefile.am filesSimo Sorce2014-04-152-38/+9
| | | | Remove unnecessary cruft, that was only making things harder to read.
* Use appropriate flags so make dist worksSimo Sorce2014-04-151-1/+2
| | | | | On my system I have high UIds, without tar-pax make dist fails. Also add other useful parameters
* Set context data on the pool with a destructorSimo Sorce2014-04-151-7/+20
| | | | | | This way the context is available for the duration of the connection. It is also properly freed if the connection is interrupted before the context is fully established.
* Fix use after freeSimo Sorce2014-04-121-8/+19
| | | | | On errors mc->ctx would be left pointing at the freed context, make sure it is cleared if we delete the context.
* Fix base64 encoding of tokensSimo Sorce2014-04-121-1/+0
| | | | | | | | The token was being trunkated as the total length should have been: replen + 10 Just remove this line, apr_base64_encode() already properly terminate the buffer.
* Register optional functionsSimo Sorce2014-04-121-2/+13
|
* Implement checking for TLS connectionsSimo Sorce2014-03-131-2/+18
| | | | Obey the GSSSSLOnly setting.
* Allow context to be attached to the connectionSimo Sorce2014-03-091-18/+83
| | | | | | | | | | | This means the authentication is not repeated for every request but is retained for the life of the connection. This may be a security issue if a frontend proxy shares connections between multiple users so must be used with care. RFC 4559 warns that clients should not try SPNEGO if such a proxy is present. Unfortuntely the RFC assumes a non-standard method to determine if a proxy maintain separate connections.
* Fix module nameSimo Sorce2014-03-091-2/+2
| | | | | | The module structure name used throughout the code didn't match the name of the initialized structure, so the one used was always uninitialized.
* Add option to map GSS Name to local NameSimo Sorce2014-03-081-2/+31
| | | | | | | Always preserves the received name in GSS_NAME. In the kereberos case this will result in the environment variable called GSS_NAME the user's principal, while REMOTE_USER will contain the user name as mapped by the kerberos library.
* Use the cred_store extension to save credentialsSimo Sorce2014-03-081-6/+54
|
* Fix warningsSimo Sorce2014-02-151-2/+5
|
* Add initial configure scriptsSimo Sorce2014-02-158-0/+139
|
* Example apache module confSimo Sorce2014-02-151-0/+1
|
* Initial codeSimo Sorce2014-02-151-0/+224
Signed-off-by: Simo Sorce <simo@redhat.com>