bug IDP-942

Paul B. Henson henson at cpp.edu
Wed Aug 9 22:03:09 EDT 2017


Back when I first upgraded to IDP 3 I opened this bug:

https://issues.shibboleth.net/jira/browse/IDP-942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

which is currently marked as fixed in 3.3.0. When I upgraded to 3.3.1 a
bit ago it still failed when there was no data sealer key configured, so
I just stuck it back in and moved on. But out of curiosity, am I
misunderstanding "fixed"? Or did it break again between 3.3.0 and 3.3.1?

If I try to start the idp with all the data sealer properties commented
out:

#idp.sealer.storeType = JCEKS
#idp.sealer.updateInterval = PT15M
#idp.sealer.aliasBase = secret
#idp.sealer.storeResource= %{idp.home}/credentials/sealer.jks
#idp.sealer.versionResource= %{idp.home}/credentials/sealer.kver
#idp.sealer.storePassword= password
#idp.sealer.keyPassword= password

It fails to initialize:

2017-08-09 18:52:13,069 - ERROR [org.springframework.web.context.ContextLoader:351] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.ClientStorageServices
': Cannot resolve reference to bean 'shibboleth.ClientSessionStorageService' while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '
shibboleth.ClientSessionStorageService' defined in file [/opt/shibboleth-idp/system/conf/global-system.xml]: Cannot resolve reference to bean 'shibboleth.DataSealer' while setting bean property 'dataSealer'; nested exception is org.springfr
amework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.DataSealer' defined in file [/opt/shibboleth-idp/system/conf/global-system.xml]: Cannot resolve reference to bean 'shibboleth.DataSealerKeyStrategy' whil
e setting bean property 'keyStrategy'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.DataSealerKeyStrategy' defined in file [/opt/shibboleth-idp/system/conf/global-sys
tem.xml]: Invocation of init method failed; nested exception is net.shibboleth.utilities.java.support.component.ComponentInitializationException: Exception loading the default key

I don't have any use of ClientSessionStorageService in my config, the default
is commented out:

#idp.session.StorageService = shibboleth.ClientSessionStorageService

I'm using the unicon hazelcast backend for everything:

idp.session.StorageService = edu.cpp.ssoHazelcastStorageService
idp.replayCache.StorageService = edu.cpp.replayHazelcastStorageService
idp.cas.StorageService = edu.cpp.casHazelcastStorageService

It's no biggie, but since there was a bug about it :)...

Thanks...

-- 
Paul B. Henson  |  (909) 979-6361  |  http://www.cpp.edu/~henson/
Operating Systems and Network Analyst  |  henson at cpp.edu
California State Polytechnic University  |  Pomona CA 91768


More information about the users mailing list