Hi, I have checked the usage of *InMemoryDaoImpl, *finally I found the reason of that.
The value pair is *username=password* in 'userMap', 'username=admin' means the 'username' is the user name and 'admin' is the password. 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
