Bonjour à tous ,
( apologize for my basic english )

I have a problem with my server tomcat and CAS :
let my new serveru Tomcat on my windows 7 ;
let a server CAS available ;

And I would like to get CAS my application ;

I change the web.xml as :
>   <filter-name>CAS Authentication Filter</filter-name>
> <filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>
> etc.....
>     <filter-mapping>
>         <filter-name>CAS Authentication Filter</filter-name>
>         <url-pattern>/*</url-pattern>
>     </filter-mapping>

I comment this section : <security-constraint> & <login-config> 

All is fine ! and I get the user name after authentication !

So, , in the context.xml , I add : 
<Realm className="org.jasig.cas.client.tomcat.v7.PropertiesCasRealm" 
propertiesFilePath="conf/users.properties" />

with the file "users.properties" : user=role1,role2

And that's the problem : 
i can't get the roles of user !

It's probably very simple, but I am blocked :op

did you meet this problem ? 
and which solution ? 
or any idea to solve, and rescue me ...


Merci,
Frederic de Bordeaux, Fr

ps : I have jsut 2 or 3 users ; so, only a file users.properties is the best 
and the simplest for me ; no need of Ldap ... ,o) 
-- 
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