Hi,

Thanks for the reply. Here's another problem I have:

I am working with 3 applications, I'll just say their names so we can't 
get confused with A,B,C

1. MAIN (spring security + CAS0
2. CC (CAS)
3. JOBS Portal (CAS)

When I log into MAIN using CAS, it still asks me for credentials when 
trying to go into CC, as well as JOBS. I checked the cookies and I have 
2 JSESSIONID cookies set, is that ok? And why does it behave like the 3 
apps don't work with the same CAS server (cause they actually do).

Thanks


On 06/25/2010 06:02 PM, Scott Battaglia wrote:
> if you want dynamic urls, specify the serverName property instead of 
> the service
>
> Cheers,
> Scott
>
> On Fri, Jun 25, 2010 at 3:22 AM, Gabi Teris <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     On 06/24/2010 11:21 PM, Marvin Addison wrote:
>>>     Is it possible to redirect to the requested resource
>>>          
>>     This feature is supported by most CAS clients including the Java CAS
>>     Client, phpCAS, and .NET CAS Client.  Based on your URLs I would
>>     imagine you are serving static content from Apache using mod_auth_cas,
>>     which I believe also supports this feature.  It would help if you
>>     clarified what client you're using and you shared your current
>>     configuration.
>>
>>     M
>>
>>        
>     Hi,
>
>     Thanks for the reply.
>     I am using the Java CAS client, since I'm developing java web
>     applications. I use Tomcat as a container, since I don't serve
>     just static content, but actually I have Spring Framework dealing
>     with the requests.
>
>     Here are my filters:
>
>     <bean name="authenticationFilter"
>     class="org.jasig.cas.client.authentication.AuthenticationFilter">
>     <property name="casServerLoginUrl"
>     value="${cas.securityContext.casProcessingFilterEntryPoint.loginUrl}"/>
>     <property name="service" value="http://${host}/microsites";
>     <http://%24%7Bhost%7D/microsites>/>
>     <property name="renew" value="false"/>
>     <property name="gateway" value="false"/>
>     </bean>
>
>     <bean name="ticketValidationFilter"
>     class="org.jasig.cas.client.validation.Cas10TicketValidationFilter">
>     <property name="service" value="http://${host}/microsites";
>     <http://%24%7Bhost%7D/microsites> />
>     <property name="ticketValidator">
>     <bean class="org.jasig.cas.client.validation.Cas10TicketValidator">
>     <constructor-arg index="0" value="http://${host}/cas";
>     <http://%24%7Bhost%7D/cas> />
>     </bean>
>     </property>
>     </bean>
>
>
>     I have requests like this:
>
>     http://localhost/microsites/Roche/EBCC/v0.5/ed_p1.html
>     where localhost is the machine name, and microsites is the
>     application name.
>
>     -- 
>     Gabi Teris, Senior Java Developer
>     AZOTH Ltd
>     Grigore Alexandrescu 64
>     Bucharest, 010626, Romania
>     Tel: (004)021-3107470 (extension 14); Fax: (004)021-3107426
>     Skype: gabi.teris
>     GTalk: gabi.teris
>
>          
>
>     -- 
>     You are currently subscribed [email protected]  
> <mailto:[email protected]>  as:[email protected]  
> <mailto:[email protected]>
>
>
>     To unsubscribe, change settings or access archives, 
> seehttp://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
> -- 
> 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


-- 
Gabi Teris, Senior Java Developer
AZOTH Ltd
Grigore Alexandrescu 64
Bucharest, 010626, Romania
Tel: (004)021-3107470 (extension 14); Fax: (004)021-3107426
Skype: gabi.teris
GTalk: gabi.teris



-- 
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