[/WEB-INF/spring-configuration/argumentExtractorsConfiguration.xml]:
Cannot resolve reference to bean 'privateKeyFactoryBean' while
setting bean property 'privateKey'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No
bean named 'privateKeyFactoryBean' is defined
At face value, the error looks like a red herring since you have such a
bean defined and it's wired correctly. I'm thinking the real problem is
loading the resource from the classpath such that the factory bean fails
to be created, and therefore can't satisfy the Spring dependency. I'd
expect an error to that effect at some point in the stack trace, but
I've been surprised before.
<bean id="privateKeyFactoryBean"
class="org.jasig.cas.util.PrivateKeyFactoryBean"
p:location="classpath:private.p8"
p:algorithm="RSA" />
Where exactly is private.p8 in the exploded WAR file? I'd use
classpath:/private.p8 and put it in /WEB-INF/classes/private.p8 to be
clear that you mean it's on the root of the classpath. See if that helps.
M
--
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