Where CAS store user/role information?  Can I just use the
InMemoryServiceRegistryDaoImpl
to test it or I must config a DB for storing *authorization *related data.

Thanks,
Qingfeng
*
*2008/12/4 qingfeng zhang <[EMAIL PROTECTED]>

> Hi,
>
> I'm using the default configuration to test the Services Management
> function.
>
> The configurations are as follows:
> 1. 'serviceRegistryDao' in deployerConfigContext.xml , keep it as default.
>
> <bean
>               id="serviceRegistryDao"
>               class="org.jasig.cas.services.InMemoryServiceRegistryDaoImpl" />
>
> 2. 'userDetailsService' in deployerConfigContext.xml, changed to:
>
> <bean id="userDetailsService" 
> class="org.acegisecurity.userdetails.memory.InMemoryDaoImpl">
>
>       <property name="userMap">
>               <value>
>             username=admin,ROLE_ADMIN
>           </value>
>
>       </property>
> </bean>
>
>
> When I access the https://localhost:8443/cas/services/ and login use
> 'admin', I got the following error:
> '*You are not authorized to use this application for the following reason:
> Could not find user: admin. * '
>
>
> Thanks,
> Qingfeng
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to