keycloak-protocol-cas | CAS protocol provider for Keycloak | Identity Management library
kandi X-RAY | keycloak-protocol-cas Summary
kandi X-RAY | keycloak-protocol-cas Summary
This repository is no longer maintained. See for an up-to-date fork.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Validate the request against the SOAP service
- Check ticket ticket
- Wraps the given node
- Create a SAML 1 response type
- Logout the backchannel
- Build single logout request
- Performs an HTTP POST to the specified URL
- Create a user
- Creates a success response
- Build the authentication request
- Check client
- Sets user attribute
- Create a new protocol mapper model
- Generates the client installation
- Sets attributes
- Sets attributes of user session
- Sets the client defaults
- Converts a map of attributes to attributes
- Sets the attribute map
- Ends the login process
- Sets the OAuth code for the given client session
- Logout the CAS browser
- Build the CAS response
- Sets the note from user session
keycloak-protocol-cas Key Features
keycloak-protocol-cas Examples and Code Snippets
Community Discussions
Trending Discussions on keycloak-protocol-cas
QUESTION
I am using mod_auth_cas to SSO into Alfresco Community 5.2 through Keycloak 4.0, with with the keycloak-cas-protocol plugin.
Alfresco sits behind a first Apache reverse proxy while Keycloak runs behind another one, on a different machine. SSL certificates are handled by a front Apache server.
My issue is the following : as I login, I get redirected to the Alfresco URL with way too many CAS tickets :
...ANSWER
Answered 2018-May-23 at 10:00I found the issue after some time.
mod_auth_cas
seems to use a CAS version above 5.2.2 which prevents tickets from having underscores.
This is a problem because the Keycloak CAS add-on generates tickets with underscores.
I worked around the issue by modifying the validCASTicketFormat
function in mod_auth_cas.c and recompiling the Apache module, thus allowing tokens to contain underscores.
In the latest mod_auth_cas
version, only dots, dashes and alphanumeric characters are allowed.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install keycloak-protocol-cas
You can use keycloak-protocol-cas like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the keycloak-protocol-cas component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page