You replaced the existing bean that stores usernames. That's wrong. I highlighted the ONE line that needed to be changed.
Cheers, Soctt On Mon, Nov 14, 2011 at 12:57 PM, Scott Battaglia <scott.battag...@gmail.com > wrote: > Sorry, we've apparently got out of date config. > > You should replace just this line: > <sec:user name="user_name_here" password="XXXXXXX" > authorities="ROLE_ADMIN" /> > > with something like > <sec:user name="MYNAME" password="XXXXXXX" authorities="ROLE_ADMIN" /> > > The password doesn't matter. > > We'll look into getting the documentation updated. > > Thanks > Scott > > > On Mon, Nov 14, 2011 at 12:53 PM, Ben Branch <bbra...@uco.edu> wrote: > >> Marvin/Paul, >> >> I have been able to get the services manager portion up, but now I am >> unable to login to it. The documentation isn't clear on how to add users. >> I have reviewed the "Configuring" Service Manager page again ( >> https://wiki.jasig.org/display/CASUM/Configuring). >> >> I replaced the normal section (from my deployerconfigcontext.xml): >> >> <sec:user-service id="userDetailsService"> >> <sec:user name="user_name_here" password="XXXXXXX" >> authorities="ROLE_ADMIN" /> >> </sec:user-service> >> >> With: >> >> <bean id ="userDetailsService" >> class="org.acegisecurity.userdetails.memory.InMemoryDaoImpl"> >> <property name="userMap"> >> <value> >> username=user_name_here,ROLE_ADMIN >> </value> >> </property> >> </bean> >> >> >> After making this change, I began getting JavaClassNotFound exceptions >> for " org.acegisecurity.userdetails.memory.InMemoryDaoImpl". I did a >> search for this and found that I possibly needed the >> acegi-security-1.0.6.jar to resolve this. I downloaded this and copied it >> into my $TOMCAT_HOME/lib as well as my $TOMCAT_HOME/webapps/cas/WEB-INF/lib >> directory. After doing so, I began to get a different error, and I'm not >> sure why, or if I'm even going in the right direction with this. >> >> org.springframework.beans.factory.BeanCreationException: Error creating >> bean with name >> 'org.springframework.security.authentication.ProviderManager#0': Cannot >> create inner bean '(inner bean)' of type >> [org.springframework.security.config.authentication.AuthenticationManagerFactoryBean] >> while setting bean property 'parent'; nested exception is >> org.springframework.beans.factory.BeanCreationException: Error creating >> bean with name '(inner bean)': FactoryBean threw exception on object >> creation; nested exception is >> org.springframework.beans.factory.BeanCreationException: Error creating >> bean with name 'org.springframework.security.authenticationManager': Cannot >> resolve reference to bean 'casAuthenticationProvider' while setting bean >> property 'providers' with key [0]; nested exception is >> org.springframework.beans.factory.BeanCreationException: Error creating >> bean with name 'casAuthenticationProvider' defined in ServletContext >> resource [/WEB-INF/spring-configuration/securityContext.xml]: >> Initialization of bean failed; nested exception is >> org.springframework.beans.ConversionNotSupportedException: Failed to >> convert property value of type >> 'org.acegisecurity.userdetails.memory.InMemoryDaoImpl' to required type >> 'org.springframework.security.core.userdetails.UserDetailsService' for >> property 'userDetailsService'; nested exception is >> java.lang.IllegalStateException: Cannot convert value of type >> [org.acegisecurity.userdetails.memory.InMemoryDaoImpl] to required type >> [org.springframework.security.core.userdetails.UserDetailsService] for >> property 'userDetailsService': no matching editors or conversion strategy >> found >> >> Many thanks for the assistance, >> >> Ben Branch >> Sun Administrator >> University of Central Oklahoma >> ITIL Foundation v3, Network+ >> >> 100 N. University Drive, Box 122 >> Edmond, OK 73034 >> D: 405.974.2649 | M: 405.550.6804 | bbra...@uco.edu | www.uco.edu >> >> "If you wish to know your past, look at your present conditions. If you >> wish to know your future, look at your present actions." - Siddhartha >> Gautama >> >> -----Original Message----- >> From: Marvin Addison [mailto:marvin.addi...@gmail.com] >> Sent: Friday, November 11, 2011 9:37 AM >> To: cas-user@lists.jasig.org >> Subject: Re: [cas-user] Service Manager Configuration issue on CAS 3.4.10 >> >> > I'm getting some JavaClassNotFound Exceptions, which I believe are due >> > to missing jar libraries >> >> Looks like your JDBC driver is missing. It should be on the container's >> classpath as discussed in the "JDBC Driver" section of >> https://wiki.jasig.org/display/CASUM/JpaTicketRegistry. >> >> M >> >> -- >> You are currently subscribed to cas-user@lists.jasig.org as: >> bbra...@uco.edu To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> >> **Bronze+Blue=Green** The University of Central Oklahoma is Bronze, Blue, >> and Green! Please print this e-mail only if absolutely necessary! >> >> **CONFIDENTIALITY** This e-mail (including any attachments) may contain >> confidential, proprietary and privileged information. Any unauthorized >> disclosure or use of this information is prohibited. >> >> >> >> -- >> You are currently subscribed to cas-user@lists.jasig.org as: >> scott.battag...@gmail.com >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> > -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user