I did actually diff my deployer config with the one in the cas-server-webapp, I 
just missed that little change to the userDetailService, so I fell back on 
reading the documentation.

I also missed how much the overlay pom had changed between 3.3.2 and 3.4.2.1 
Reading the wiki really helped on that. Thanks much for your patience.

So now I can deploy but I am not out of the woods yet. Now I am getting this 
when I hit cas/services:

[#|2010-11-11T15:34:01.415-0700|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=28;_ThreadName=Thread-1;|2010-11-11
 15:34:01,409 ERROR [org.springframework.web.servlet.tags.MessageTag] - <No 
message found under code 'viewStatisticsView' for locale 'en_US'.>
javax.servlet.jsp.JspTagException: No message found under code 
'viewStatisticsView' for locale 'en_US'.
        at 
org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:184)
        at 
org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:79)

I wonder if this has something to do with the branding that has been done. But 
we haven't done any branding on the services stuff.

Thanks again,

Bryan Wooten

[email protected]
Work: 801.585.9323
Cell: 801.414.3593

From: Scott Battaglia [mailto:[email protected]]
Sent: Thursday, November 11, 2010 2:47 PM
To: [email protected]
Subject: Re: [cas-user] Still can't get services manager to come up

Did you not copy from the example deployerConfigContext.xml that comes with the 
release version you're using?

On Thu, Nov 11, 2010 at 4:42 PM, Bryan Wooten 
<[email protected]<mailto:[email protected]>> wrote:
Following these instructions: https://wiki.jasig.org/display/CASUM/Configuring

<bean id="userDetailsService" 
class="org.acegisecurity.userdetails.memory.InMemoryDaoImpl">
        <property name="userMap">
               <value>
              username=notused,ROLE_ADMIN
            </value>
        </property>
</bean>
I got a Class not found error on 
org.acegisecurity.userdetails.memory.InMemoryDaoImpl

So I add the following to my overlay pom.xml:

<repository>
            <id>acegi</id>
            <name>Acegi Maven2 Repository</name>
            
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2/org/acegisecurity/acegi-security-cas</url>
        </repository>

<dependency>
            <groupId>org.acegisecurity</groupId>
            <artifactId>acegi-security-cas</artifactId>
            <version>1.0.7</version>
        </dependency>

And now I get this:


org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.springframework.security.authenticatio
n.ProviderManager#0': Cannot create inner bean '(inner bean)' of type 
[org.springframework.security.config.authentication.Authenti
cationManagerFactoryBean] while setting bean property 'parent'; nested 
exception is org.springframework.beans.factory.BeanCreation
Exception: Error creating bean with name '(inner bean)': FactoryBean threw 
exception on object creation; nested exception is org.s
pringframework.beans.factory.BeanCreationException: Error creating bean with 
name 'org.springframework.security.authenticationMana
ger': Cannot resolve reference to bean 'casAuthenticationProvider' while 
setting bean property 'providers' with key [0]; nested ex
ception is org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'casAuthenticationProvider' defi
ned in ServletContext resource 
[/WEB-INF/spring-configuration/securityContext.xml]: Initialization of bean 
failed; nested exceptio
n is org.springframework.beans.ConversionNotSupportedException: Failed to 
convert property value of type 'org.acegisecurity.userde
tails.memory.InMemoryDaoImpl' to required type 
'org.springframework.security.core.userdetails.UserDetailsService' for property 
'us
erDetailsService'; nested exception is java.lang.IllegalStateException: Cannot 
convert value of type [org.acegisecurity.userdetail
s.memory.InMemoryDaoImpl] to required type 
[org.springframework.security.core.userdetails.UserDetailsService] for property 
'userDe
tailsService': no matching editors or conversion strategy found

I am stumped again.

Bryan Wooten

[email protected]<mailto:[email protected]>
Work: 801.585.9323
Cell: 801.414.3593


--

You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[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

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