I'm not sure why it wouldn't work.  I mess with that setting all the time
during testing and I've never had issues.  You could try posting your DEBUG
output here if you're not happy with the file solution.

Cheers,
Scott


On Fri, Mar 18, 2011 at 9:54 AM, Aaron Shettleroe <
[email protected]> wrote:

> I'm setting up the users that have access to the Services Management
> application in deployerConfigContext.xml.  I have the userDetailsService
> using spring security defined as:
>
> <sec:user-service id="userDetailsService">
>   <sec:user name="TNDV.ashettleroe" password="notused"
> authorities="ROLE_ADMIN" />
> </sec:user-service>
>
> However, when I log into CAS and get redirected I get that my user
> TNDV.ashettleroe is not authorized.
>
> When I modify this config to use a properties file containing the users
> instead like so:
> <sec:user-service id="userDetailsService"
> properties="WEB-INF/users.properties" />
>
> And users.properties contains:
> TNDV.ashettleroe=notused,ROLE_ADMIN
>
> It works.
>
> When I turn on debug logging, with the original config, I see that it
> thinks I'm an anonymousUser.
>
> Why doesn't listing the users with the .xml work?
>
> Thank you,
> Aaron Shettleroe
> --
> 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
>

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