Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.28 KB

Demonstrating-CAS-Authentication-from-Apache-to-Keycloak.md

File metadata and controls

35 lines (20 loc) · 1.28 KB

Demonstrating CAS Authentication from Apache to Keycloak

Background

We are using the following Keycloak provider for CAS support:

I have no reason to think this is a production ready tool, but it is useful for understanding/testing the CAS protocol.

Initialize Keycloak and OpenLDAP

Follow Demonstrate LDAP Connection Between Keycloak and OpenLDAP

NOTE: It is important that the realm created in Keycloak (above) is precisely named SSO-Realm for the apache2 configurations to function properly (below).

Verify CAS via Apache2 (cas-proxy)

There are two sample pages in apache:

Open the second link

When prompted by Keycloak, login as pswanson, using the password from authdemo-show-secrets.sh

Confirm that you are able to see the Example Private Content page, and that you see the following:

Attributes Returned by CAS:

REMOTE_USER = pswanson