I'm trying to replicate one of the CXF system tests unsuccessfully. The test
in question is located in the  cxf-services-sts-systests-basic maven project
in the IssueUnit class it is the testBearerSVSaml2 method. The twist is that
I'm hosting the STS server in an OSGI container.

The STS seems to start up fine in the container and indeed I can browse to
the WSDL location and it responds with the correct WSDL. However, the client
side code fails during the requestSecurityToken method with the following
exception:

FAILED: testBearerSVSaml2
java.lang.NoSuchMethodError:
org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry.getOutInterceptorsForAssertion(Ljavax/xml/namespace/QName;)Ljava/util/List;

The full stack trace is below. I have also included the entire debug output
from the moment the method executes just in case it is useful.

[main] TRACE
org.springframework.beans.factory.support.DefaultListableBeanFactory - No
bean named 'default.sts-client' found in
org.springframework.beans.factory.support.DefaultListableBeanFactory@453f0a8:
defining beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,cxf.config0,https://localhost:.*];
root of factory hierarchy
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
find a definition for bean with id default.sts-client - no injection will be
performed.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.transport.http.HTTPWSDLExtensionLoader.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.binding.xml.wsdl11.XMLWSDLExtensionLoader.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.addressing.impl.AddressingWSDLExtensionLoader.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.wsdl11.WSDLManagerImpl.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.catalog.OASISCatalogManager.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.transport.http.HTTPTransportFactory.
[main] DEBUG
org.springframework.beans.factory.support.DefaultListableBeanFactory -
Creating instance of bean '(inner bean)'
[main] DEBUG org.apache.cxf.configuration.jsse.spring.TLSParameterJaxBUtils
- KEY_STORE_TYPE_SET
[main] DEBUG org.apache.cxf.configuration.jsse.spring.TLSParameterJaxBUtils
- KEY_STORE_PROVIDER_NOT_SET
[main] DEBUG
org.springframework.beans.factory.support.DefaultListableBeanFactory -
Finished creating instance of bean '(inner bean)'
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Getting
BeanInfo for class [org.apache.cxf.transport.http.HTTPConduit]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Caching
PropertyDescriptors for class [org.apache.cxf.transport.http.HTTPConduit]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'authSupplier' of type
[org.apache.cxf.transport.http.auth.HttpAuthSupplier]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'authorization' of type
[org.apache.cxf.configuration.security.AuthorizationPolicy]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'beanName' of type [java.lang.String]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'class' of type [java.lang.Class]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'client' of type
[org.apache.cxf.transports.http.configuration.HTTPClientPolicy]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'conduitName' of type [java.lang.String]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'cookies' of type [java.util.Map]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'messageObserver' of type
[org.apache.cxf.transport.MessageObserver]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'proxyAuthSupplier' of type
[org.apache.cxf.transport.http.auth.HttpAuthSupplier]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'proxyAuthorization' of type
[org.apache.cxf.configuration.security.ProxyAuthorizationPolicy]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'target' of type
[org.apache.cxf.ws.addressing.EndpointReferenceType]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'tlsClientParameters' of type
[org.apache.cxf.configuration.jsse.TLSClientParameters]
[main] TRACE org.springframework.beans.CachedIntrospectionResults - Found
bean property 'trustDecider' of type
[org.apache.cxf.transport.http.MessageTrustDecider]
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - Conduit
'null.http-conduit' has been (re) configured for TLS keyManagers
nulltrustManagers
[com.sun.net.ssl.internal.ssl.X509TrustManagerImpl@4821e115]secureRandom
null
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl -
Successfully performed injection.
[main] TRACE
org.springframework.beans.factory.support.DefaultListableBeanFactory - No
bean named 'https://localhost:8443/SecurityTokenService/Transport' found in
org.springframework.beans.factory.support.DefaultListableBeanFactory@453f0a8:
defining beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,cxf.config0,https://localhost:.*];
root of factory hierarchy
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
find a definition for bean with id
https://localhost:8443/SecurityTokenService/Transport - no injection will be
performed.
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - No Trust Decider
configured for Conduit 'null.http-conduit'
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - No Auth Supplier
configured for Conduit 'null.http-conduit'
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - Conduit
'null.http-conduit' has been configured for TLS keyManagers
nulltrustManagers
[com.sun.net.ssl.internal.ssl.X509TrustManagerImpl@4821e115]secureRandom
nullDisable Common Name (CN) Check: true
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - registering
incoming observer: org.apache.cxf.transport.TransportURIResolver$1@2a9a42ef
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
cipher suites have not been configured, falling back to cipher suite
filters.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
cipher suite filters have not been configured, falling back to default
filters.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory -
Ciphersuite include filter: .*
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory -
Ciphersuite include filter: .*_NULL_.*
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory -
Ciphersuite include filter: .*_anon_.*
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_RSA_WITH_RC4_128_MD5 cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_RSA_WITH_RC4_128_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_RSA_WITH_AES_128_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_RSA_WITH_AES_256_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_DHE_RSA_WITH_AES_128_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_DHE_RSA_WITH_AES_256_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_DHE_DSS_WITH_AES_128_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_DHE_DSS_WITH_AES_256_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_RSA_WITH_3DES_EDE_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_RSA_WITH_DES_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_DHE_RSA_WITH_DES_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_DHE_DSS_WITH_DES_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_RSA_EXPORT_WITH_RC4_40_MD5 cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_RSA_EXPORT_WITH_DES40_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA cipher suite is included by the
filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA cipher suite is included by the
filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_EMPTY_RENEGOTIATION_INFO_SCSV cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_RSA_WITH_NULL_MD5 cipher suite is excluded by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_RSA_WITH_NULL_SHA cipher suite is excluded by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_DH_anon_WITH_RC4_128_MD5 cipher suite is excluded by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_DH_anon_WITH_AES_128_CBC_SHA cipher suite is excluded by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_DH_anon_WITH_AES_256_CBC_SHA cipher suite is excluded by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_DH_anon_WITH_3DES_EDE_CBC_SHA cipher suite is excluded by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_DH_anon_WITH_DES_CBC_SHA cipher suite is excluded by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_DH_anon_EXPORT_WITH_RC4_40_MD5 cipher suite is excluded by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA cipher suite is excluded by the
filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_KRB5_WITH_RC4_128_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_KRB5_WITH_RC4_128_MD5 cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_KRB5_WITH_3DES_EDE_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_KRB5_WITH_3DES_EDE_CBC_MD5 cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_KRB5_WITH_DES_CBC_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_KRB5_WITH_DES_CBC_MD5 cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_KRB5_EXPORT_WITH_RC4_40_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_KRB5_EXPORT_WITH_RC4_40_MD5 cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5 cipher suite is included by the filter.
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
enabled cipher suites have been filtered down to [SSL_RSA_WITH_RC4_128_MD5,
SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA,
TLS_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA,
TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA,
TLS_DHE_DSS_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA,
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA,
SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA,
SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5,
SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA,
SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, TLS_EMPTY_RENEGOTIATION_INFO_SCSV,
TLS_KRB5_WITH_RC4_128_SHA, TLS_KRB5_WITH_RC4_128_MD5,
TLS_KRB5_WITH_3DES_EDE_CBC_SHA, TLS_KRB5_WITH_3DES_EDE_CBC_MD5,
TLS_KRB5_WITH_DES_CBC_SHA, TLS_KRB5_WITH_DES_CBC_MD5,
TLS_KRB5_EXPORT_WITH_RC4_40_SHA, TLS_KRB5_EXPORT_WITH_RC4_40_MD5,
TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA, TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5].
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
excluded cipher suites have been filtered down to [SSL_RSA_WITH_NULL_MD5,
SSL_RSA_WITH_NULL_SHA, SSL_DH_anon_WITH_RC4_128_MD5,
TLS_DH_anon_WITH_AES_128_CBC_SHA, TLS_DH_anon_WITH_AES_256_CBC_SHA,
SSL_DH_anon_WITH_3DES_EDE_CBC_SHA, SSL_DH_anon_WITH_DES_CBC_SHA,
SSL_DH_anon_EXPORT_WITH_RC4_40_MD5, SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA].  
[main] DEBUG org.apache.cxf.transport.https.HttpsURLConnectionFactory - The
cipher suites have been set to SSL_RSA_WITH_RC4_128_MD5,
SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA,
TLS_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA,
TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA,
TLS_DHE_DSS_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA,
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA,
SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA,
SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5,
SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA,
SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, TLS_EMPTY_RENEGOTIATION_INFO_SCSV,
TLS_KRB5_WITH_RC4_128_SHA, TLS_KRB5_WITH_RC4_128_MD5,
TLS_KRB5_WITH_3DES_EDE_CBC_SHA, TLS_KRB5_WITH_3DES_EDE_CBC_MD5,
TLS_KRB5_WITH_DES_CBC_SHA, TLS_KRB5_WITH_DES_CBC_MD5,
TLS_KRB5_EXPORT_WITH_RC4_40_SHA, TLS_KRB5_EXPORT_WITH_RC4_40_MD5,
TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA, TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5.  
[main] DEBUG org.apache.cxf.transport.http.Headers - Accept: */*
[main] DEBUG org.apache.cxf.transport.http.TrustDecisionUtil - No Trust
Decider for Conduit 'null.http-conduit'. An afirmative Trust Decision is
assumed.
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - Response Code: 200
Conduit: null.http-conduit
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - Content length: -1
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - Header fields: 
    null: [HTTP/1.1 200 OK]
    Transfer-Encoding: [chunked]
    Content-Type: [text/xml]
    Server: [Jetty(7.6.7.v20120910)]

[main] DEBUG org.apache.cxf.wsdl11.WSDLServiceBuilder - Operation
{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Cancel cannot be
unwrapped, input message must reference global element declaration with same
localname as operation
[main] DEBUG org.apache.cxf.wsdl11.WSDLServiceBuilder - Operation
{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Issue cannot be
unwrapped, input message must reference global element declaration with same
localname as operation
[main] DEBUG org.apache.cxf.wsdl11.WSDLServiceBuilder - Operation
{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Renew cannot be
unwrapped, input message must reference global element declaration with same
localname as operation
[main] DEBUG org.apache.cxf.wsdl11.WSDLServiceBuilder - Operation
{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Validate cannot be
unwrapped, input message must reference global element declaration with same
localname as operation
[main] DEBUG org.apache.cxf.wsdl11.WSDLServiceBuilder - Operation
{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}KeyExchangeToken cannot
be unwrapped, input message must reference global element declaration with
same localname as operation
[main] DEBUG org.apache.cxf.wsdl11.WSDLServiceBuilder - Operation
{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}RequestCollection cannot
be unwrapped, input message must reference global element declaration with
same localname as operation
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.binding.xml.XMLBindingFactory.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.binding.soap.SoapBindingFactory.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.binding.soap.SoapTransportFactory.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.security.cache.CacheCleanupListener.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.bus.managers.ClientLifeCycleManagerImpl.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.policy.PolicyBuilderImpl.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder.
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
determine bean name for instance of class
org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder.
[main] TRACE
org.springframework.beans.factory.support.DefaultListableBeanFactory - No
bean named
'{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Transport_Port.http-conduit'
found in
org.springframework.beans.factory.support.DefaultListableBeanFactory@453f0a8:
defining beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,cxf.config0,https://localhost:.*];
root of factory hierarchy
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
find a definition for bean with id
{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Transport_Port.http-conduit
- no injection will be performed.
[main] DEBUG
org.springframework.beans.factory.support.DefaultListableBeanFactory -
Creating instance of bean '(inner bean)'
[main] DEBUG org.apache.cxf.configuration.jsse.spring.TLSParameterJaxBUtils
- KEY_STORE_TYPE_SET
[main] DEBUG org.apache.cxf.configuration.jsse.spring.TLSParameterJaxBUtils
- KEY_STORE_PROVIDER_NOT_SET
[main] DEBUG
org.springframework.beans.factory.support.DefaultListableBeanFactory -
Finished creating instance of bean '(inner bean)'
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - Conduit
'{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Transport_Port.http-conduit'
has been (re) configured for TLS keyManagers nulltrustManagers
[com.sun.net.ssl.internal.ssl.X509TrustManagerImpl@2f5ca232]secureRandom
null
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl -
Successfully performed injection.
[main] TRACE
org.springframework.beans.factory.support.DefaultListableBeanFactory - No
bean named 'https://localhost:8443/SecurityTokenService/Transport' found in
org.springframework.beans.factory.support.DefaultListableBeanFactory@453f0a8:
defining beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,cxf.config0,https://localhost:.*];
root of factory hierarchy
[main] DEBUG org.apache.cxf.configuration.spring.ConfigurerImpl - Could not
find a definition for bean with id
https://localhost:8443/SecurityTokenService/Transport - no injection will be
performed.
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - No Trust Decider
configured for Conduit
'{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Transport_Port.http-conduit'
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - No Auth Supplier
configured for Conduit
'{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Transport_Port.http-conduit'
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - Conduit
'{http://docs.oasis-open.org/ws-sx/ws-trust/200512/}Transport_Port.http-conduit'
has been configured for TLS keyManagers nulltrustManagers
[com.sun.net.ssl.internal.ssl.X509TrustManagerImpl@2f5ca232]secureRandom
nullDisable Common Name (CN) Check: true
[main] DEBUG org.apache.cxf.transport.http.HTTPConduit - registering
incoming observer: org.apache.cxf.endpoint.ClientImpl@6a9c98e8
FAILED: testBearerSVSaml2
java.lang.NoSuchMethodError:
org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry.getOutInterceptorsForAssertion(Ljavax/xml/namespace/QName;)Ljava/util/List;
        at
org.apache.cxf.ws.policy.EffectivePolicyImpl.initialiseInterceptors(EffectivePolicyImpl.java:236)
        at
org.apache.cxf.ws.policy.EffectivePolicyImpl.initialiseInterceptors(EffectivePolicyImpl.java:207)
        at
org.apache.cxf.ws.policy.EffectivePolicyImpl.initialiseInterceptors(EffectivePolicyImpl.java:197)
        at
org.apache.cxf.ws.policy.EffectivePolicyImpl.initialise(EffectivePolicyImpl.java:93)
        at
org.apache.cxf.ws.policy.PolicyEngineImpl.getEffectiveClientRequestPolicy(PolicyEngineImpl.java:199)
        at
org.apache.cxf.ws.security.trust.STSClient.findOperation(STSClient.java:600)
        at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:645)
        at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:638)
        at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:630)
        at
com.ge.dsp.example.webservice.test.SamlRestTest.requestSecurityToken(SamlRestTest.java:259)
        at
com.ge.dsp.example.webservice.test.SamlRestTest.testBearerSVSaml2(SamlRestTest.java:201)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
        at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
        at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
        at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
        at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
        at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
        at org.testng.TestRunner.privateRun(TestRunner.java:767)
        at org.testng.TestRunner.run(TestRunner.java:617)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
        at org.testng.SuiteRunner.run(SuiteRunner.java:240)
        at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
        at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
        at org.testng.TestNG.runSuitesSequentially(TestNG.java:1203)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:1128)
        at org.testng.TestNG.run(TestNG.java:1036)
        at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
        at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
        at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)






--
View this message in context: 
http://cxf.547215.n5.nabble.com/STSClient-requestSecurityToken-exception-tp5723546.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to