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"/>
<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"; />
<property name="ticketValidator">
<bean class="org.jasig.cas.client.validation.Cas10TicketValidator">
<constructor-arg index="0" value="http://${host}/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 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