Ok, looks like BouncyCastle is kicking in ok. I'm not seeing any WSS4J logs yet in that output though...
Could you put a breakpoint in the "getKerberosTicket" method here? How many credentials are in the "privateCredentials" set? http://svn.apache.org/viewvc/webservices/wss4j/tags/wss4j-2.0.2/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/token/KerberosSecurity.java?view=markup Colm. On Wed, Nov 26, 2014 at 9:15 AM, tobee <lukasz.tob...@gmail.com> wrote: > In order to do wss4j logging you need this: > > http://www.slf4j.org/manual.html > "To switch logging frameworks, just replace slf4j bindings on your class > path. For example, to switch from java.util.logging to log4j, just replace > slf4j-jdk14-1.7.7.jar with slf4j-log4j12-1.7.7.jar." > > While cxf picks META-INF/cxf/org.apache.cxf.Logger it doesn't impact wss4j > in any way. > Replacing this jar did the trick. > Can check if removing META-INF/cxf/org.apache.cxf.Logger will work for > both. > > also added System.setProperty("log4j.configuration","log4j.properties"); - > not required most likely unless you move the file to some specific folder. > > 2014-11-26 10:01:39 DEBUG WSProviderConfig:346 - The provider STRTransform > was added at position: 10 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:346 - The provider STRTransform > was added at position: 10 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:346 - The provider STRTransform > was added at position: 10 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:346 - The provider > AttachmentContentSignatureTransform was added at position: 11 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:346 - The provider > AttachmentContentSignatureTransform was added at position: 11 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:346 - The provider > AttachmentContentSignatureTransform was added at position: 11 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:346 - The provider > AttachmentCompleteSignatureTransform was added at position: 12 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:346 - The provider > AttachmentCompleteSignatureTransform was added at position: 12 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:346 - The provider > AttachmentCompleteSignatureTransform was added at position: 12 > 2014-11-26 10:01:39 DEBUG ResourceResolver:247 - Registered resolver: > org.apache.wss4j.dom.resolvers.ResolverAttachment@1cdfd19 > 2014-11-26 10:01:39 DEBUG ResourceResolver:247 - Registered resolver: > org.apache.wss4j.dom.resolvers.ResolverAttachment@1cdfd19 > 2014-11-26 10:01:39 DEBUG WSS4JResourceBundle:52 - Can't find bundle for > base name org/apache/xml/security/resource/xmlsecurity, locale pl_PL > 2014-11-26 10:01:39 DEBUG WSS4JResourceBundle:52 - Can't find bundle for > base name org/apache/xml/security/resource/xmlsecurity, locale pl_PL > 2014-11-26 10:01:39 DEBUG WSS4JResourceBundle:52 - Can't find bundle for > base name org/apache/xml/security/resource/xmlsecurity, locale pl_PL > 2014-11-26 10:01:39 DEBUG Init:111 - Registering default algorithms > 2014-11-26 10:01:39 DEBUG Init:111 - Registering default algorithms > 2014-11-26 10:01:39 DEBUG WSProviderConfig:271 - The provider ApacheXMLDSig > - 2.02 was added at position: 2 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:271 - The provider ApacheXMLDSig > - 2.02 was added at position: 2 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:271 - The provider ApacheXMLDSig > - 2.02 was added at position: 2 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:271 - The provider BC - 1.51 was > added at position: 2 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:271 - The provider BC - 1.51 was > added at position: 2 > 2014-11-26 10:01:39 DEBUG WSProviderConfig:271 - The provider BC - 1.51 was > added at position: 2 > > Full debug with WSProviderConfig entries: > http://pastebin.com/8Z4ueYn7 > > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/possible-wss4j-bug-tp5750539p5751483.html > Sent from the cxf-user mailing list archive at Nabble.com. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com