Hi,

I'm setting an JBoss Server and want him to authenticate through CAS.

So I set up the web.xml ( inside deployers/jbossweb.sar) with the needed
filters...

As far I get a simple WAR application everything is working

Now I have to integrate cas for JAAS.

I've used the following code for the conf/login-config.xml:

 <application-policy name="APPCore">
>         <authentication>
>             <login-module
>                 code="org.jasig.cas.client.jaas.CasLoginModule"
>                 flag="required">
>             </login-module>
>         </authentication>
>     </application-policy>
>


In the war-deployers-jboss-beans.xml I've setup:

        <entry>
>                <key>CAS</key>
>
> <value>org.jasig.cas.client.jboss.authentication.WebAuthenticationFilter</value>
>         </entry>
>

I'm getting following error:

java.lang.ClassCastException:
org.jasig.cas.client.jboss.authentication.WebAuthenticationFilter cannot be
cast to org.apache.catalina.Valve

Seems JBoss integration doesnt work as I understand this.

Is there an HowTo?


Greets,

Mike

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