Skip to content

SEC-2127: Support multiple hostnames #2353

Open
@spring-projects-issues

Description

@spring-projects-issues

Condor (Migrated from SEC-2127) said:

I have 3 related problems with the Spring Security CAS client:

  1. My web application is accessible on multiple host names and after logging in the CAS server should redirect to the original host and not one single host as specified in the service config option.
  2. I patched the code to use the host and port of the original request, but then I noticed that the request url was also wrong because my application server is behind a proxy server. So I modified the patch to also use the X-Proxy-Host header when available.
  3. I configured my CAS server to allow a service parameter for redirect after single sign out. Spring Security CAS has no standard logout handler for this, so I created one and I had to add the same service url processing as SEC-1900: Fixed by removing dependency to equals method in SimpleGrantedAuthority #2.

This all works, but I assume that more people are having this problem. So I would like to request that these feature are added to the library. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: casAn issue in spring-security-castype: enhancementA general enhancementtype: jiraAn issue that was migrated from JIRA

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions