Hi,


I have a problem with the CAS Client for Java to integrate LDAP single sign
on with Jira that it is not redirecting to the CAS login page.


Every time I go to my jira through this url: http://issues.xxxx.com/jira it
will always redirect to the
http://issues.xxxx.com/jira/secure/Dashboard.jspa.

With my configuration below, it is suppose to redirect to my CAS server url:
https://singlesignon.xxxx.com/cas and display the CAS login page.


If I click on the Login link in
http://issues.xxxx.com/jira/secure/Dashboard.jspa, it will redirect to CAS
login page. I thought that by setting up the
org.jasig.cas.client.authentication.AuthenticationFilter to point to the CAS
server it will redirect my Jira to the CAS login page.

Is there something wrong with my configuration below? Can someone guide on
the proper settings so that Jira is able to redirect to the CAS login page.





I am currently using the following versions:

·         - CAS 3.4.10

·         - CAS Client for JAVA 3.2.1

·         - Jira 4.4



I have configured the *web.xml* with the following:



<!-- CAS:START - Java Client Filters -->

<filter>

   <filter-name>CasSingleSignOutFilter</filter-name>


<filter-class>org.jasig.cas.client.session.SingleSignOutFilter</filter-class>

</filter>

<filter>

  <filter-name>CasAuthenticationFilter</filter-name>


<filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>

  <init-param>

    <param-name>casServerLoginUrl</param-name>

    <param-value>https://singlesignon.xxxx.com/cas</param-value>

  </init-param>

  <init-param>

    <param-name>service</param-name>

    <param-value>http://issues.xxxx.com</param-value>

  </init-param>

</filter>

<filter>

    <filter-name>CasValidationFilter</filter-name>


<filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>

    <init-param>

        <param-name>casServerUrlPrefix</param-name>

        <param-value> https://singlesignon.xxxx.com/cas</param-value>

    </init-param>

    <init-param>

        <param-name>service</param-name>

        <param-value> http://issues.xxxx.com</param-value>

    </init-param>

    <init-param>

        <param-name>redirectAfterValidation</param-name>

        <param-value>true</param-value>

    </init-param>

</filter>

<!--- CAS:END -->



<!-- CAS:START - Java Client Filter Mappings -->

<filter-mapping>

   <filter-name>CasSingleSignOutFilter</filter-name>

   <url-pattern>/*</url-pattern>

</filter-mapping>

<filter-mapping>

    <filter-name>CasAuthenticationFilter</filter-name>

    <url-pattern>/login.jsp</url-pattern>

</filter-mapping>



<filter-mapping>

    <filter-name>CasValidationFilter</filter-name>

    <url-pattern>/*</url-pattern>

</filter-mapping>

<!-- CAS:END -->



<!-- CAS:START - Java Client Single Sign Out Listener -->

<listener>


<listener-class>org.jasig.cas.client.session.SingleSignOutHttpSessionListener</listener-class>

</listener>

<!-- CAS:END -->



I have configured the *seraph.xml* with the following:

<init-param>

   <param-name>login.url</param-name>

    <param-value>/login.jsp?os_destination=${originalurl}</param-value>

</init-param>

<init-param>

    <param-name>link.login.url</param-name>

    <param-value>/login.jsp?os_destination=${originalurl}</param-value> -->

</init-param>

<init-param>

    <param-name>logout.url</param-name>

    <param-value>https://singlesignon.xxxx.com/cas-uat/logout</param-value>

</init-param>



Thanks.


Regards,

Dony

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to