Support for basic and kerberos authentication
diff --git a/tests/pillar/apache_server.sls b/tests/pillar/apache_server.sls
index 5b24819..37c1f7d 100644
--- a/tests/pillar/apache_server.sls
+++ b/tests/pillar/apache_server.sls
@@ -13,6 +13,22 @@
locations:
- uri: /admin
path: /usr/share/postfixadmin
+ auth:
+ engine: kerberos
+ name: "Kerberos Authentication"
+ require:
+ - "ldap-attribute memberOf='cn=jenkins,cn=groups,cn=accounts,dc=example,dc=eu'"
+ kerberos:
+ realms:
+ - EXAMPLE.EU
+ keytab: /etc/apache2/ipa.keytab
+ service: HTTP
+ method:
+ negotiate: true
+ k5passwd: true
+ ldap:
+ url: "ldaps://idm01.example.eu/dc=example,dc=eu?krbPrincipalName"
+ mech: GSSAPI
- uri: /mailman
path: /usr/lib/cgi-bin/mailman
script: true