When I configure CAS and Acegi the first time it works fine but now when
I move to CAS to make authentication changes and other thinks that work
fine, Acegi client specifically ProxyTicketValidator throw an exception
internalProxyTicketValidatorProblem with the message: Network is
unreachable: connect

My configs

        <bean id="serviceProperties"
class="org.acegisecurity.ui.cas.ServiceProperties">
                <property name="service">
        
<value>http://localhost:8080/Admin/j_acegi_cas_security_check</value>
                </property>
                <property name="sendRenew">
                        <value>false</value>
                </property>
        </bean>
        
        <bean id="casProcessingFilter"
class="org.acegisecurity.ui.cas.CasProcessingFilter">
                <property name="authenticationManager">
                        <ref bean="authenticationManager"/>
                </property>
                <property name="authenticationFailureUrl">
                        <value>/error.jsp</value>
                </property>
                <property name="defaultTargetUrl">
                        <value>/index.htm</value>
                </property>
                <property name="filterProcessesUrl">
                        <value>/j_acegi_cas_security_check</value>
                </property>
        </bean>

        <bean id="casProcessingFilterEntryPoint"
class="org.acegisecurity.ui.cas.CasProcessingFilterEntryPoint">
                <property name="loginUrl">
        
<value>https://localhost:8443/cas-server-webapp-3.2/login</value>
                </property>
                <property name="serviceProperties">
                        <ref bean="serviceProperties"/>
                </property>
        </bean>

        <bean id="casAuthenticationProvider"
class="org.acegisecurity.providers.cas.CasAuthenticationProvider">
                <property name="casAuthoritiesPopulator">
                        <ref bean="casAuthoritiesPopulator"/>
                </property>
                <property name="casProxyDecider">
                        <ref bean="casProxyDecider"/>
                </property>
                <property name="ticketValidator">
                        <ref bean="casProxyTicketValidator"/>
                </property>
                <property name="statelessTicketCache">
                        <ref bean="statelessTicketCache"/>
                </property>
                <property name="key">
        
<value>my_password_for_this_auth_provider_only</value>
                </property>
        </bean>

        <bean id="casProxyTicketValidator"
class="org.acegisecurity.providers.cas.ticketvalidator.CasProxyTicketVal
idator">
                <property name="casValidate">
        
<value>https://localhost:8443/cas-server-webapp-3.2/proxyValidate</value
>
                </property>
                <property name="proxyCallbackUrl"><null /></property>
                <property name="serviceProperties">
                        <ref bean="serviceProperties"/>
                </property>
                <property name="trustStore">
                        <value>C:/Documents and
Settings/aek/.keystore</value>
                </property>
        </bean>

I really lost at this point because CAS server work fine in debug. I try
some combination of proxyCallbackUrl and nothing
I Acegi-security-1.0.4
Thanks

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to