On Thu, 28 May 2015 10:35:38 -0500
Fred <[email protected]> wrote:

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

Salut, Fred,

My guess: Tomcat doesn't look for "conf/users.properties" in the place you
would expect. Try providing an absolute path, like

propertiesFilePath="/opt/tomcat7/webapps/cas/WEB-INF/users.properties"

If that doesn't fix the issue, log files could give some clue.

-- 
Alberto Cabello Sánchez
<[email protected]>

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