Hi Mike,

thank you very much for your reply, it works perfectly. 



Mike Horwitz wrote:
> 
> You will need to change the security settings in security.xml. Look for
> "intercept-url". You will see that everything under /admin/* is secured to
> ROLE_ADMIN only.
> 
> Mike
> 
> 2008/12/20 MHL <benli3...@gmail.com>
> 
>>
>> Hi All
>>
>> How can I get a list of users?
>>
>> I have tried to use  userManager.getUsers(new User()). it works when I
>> have
>> admin privilege, but it doesn't work when I as a normal user.  It gives
>> me
>> access denied exception.
>>
>> I have tried several other methods as well but without luck.
>>
>>
>> Thanks in advance.
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-get-a-list-of-system-users-as-a-normal-user-tp21102033s2369p21102033.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-get-a-list-of-system-users-as-a-normal-user-tp21102033s2369p21117640.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to