diff options
author | Simo Sorce <simo@redhat.com> | 2014-01-20 16:14:52 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-01-24 17:32:21 -0500 |
commit | d0a1541e095b9cee6468eeea07a950264753dd39 (patch) | |
tree | c316fb8ccf9ce2742414d14262c396478358a747 /templates | |
parent | 26af9d1958608fb0237e2d1dd8b1b15d8cb862b7 (diff) | |
download | ipsilon.git-d0a1541e095b9cee6468eeea07a950264753dd39.tar.gz ipsilon.git-d0a1541e095b9cee6468eeea07a950264753dd39.tar.xz ipsilon.git-d0a1541e095b9cee6468eeea07a950264753dd39.zip |
Add Kerberos Negotiate auth plugin
This plugin depends on the proper configuration of mod_auth_kerb
The mod_auth_kerb plugin should be configured with a <Location> directive
like the folowing:
<Location /idp/login/krb/negotiate>
AuthType Kerberos
AuthName "Kerberos Login"
KrbMethodNegotiate on
KrbMethodK5Passwd off
KrbServiceName HTTP
KrbAuthRealms $REALM_NAME
Krb5KeyTab $KEYTAB_NAME
KrbSaveCredentials off
KrbConstrainedDelegation off
Require valid-user
ErrorDocument 401 /idp/login/krb/unauthorized
</Location>
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/login/krb.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/login/krb.html b/templates/login/krb.html new file mode 100644 index 0000000..1f9107b --- /dev/null +++ b/templates/login/krb.html @@ -0,0 +1,20 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="UTF-8"></meta> + <title>{{ title }}</title> + <link href="{{ basepath }}/ui/ipsilon.css" type="text/css" rel="stylesheet"></link> + <link href="{{ basepath }}/ui/favicon.ico" type="image/ico" rel="icon"></link> +</head> +<body> + <div id="container"> + <div id="logo"> + <p>Ipsilon</p> + </div> + <div id="login"> + <p>Press <a href="{{ cont }}">here</a> if your browser does not + redirect you in a few seconds</a> + </div> + </div> +</body> +</html> |