Hi All,

First of all get a big hug from me, and a chance for mi Enlish speeling. 

I've been shearching for that problem but i doesnt know how to fix it, so i
come here.

I getting a NullPinterException when i validate the signature of the
response from a WSE3 Service.  The request its ok to he server.

Actually im only validating de signature so we have no encryption now.

the service is responding something like 

<KeyInfo>
        <wsse:SecurityTokenReference>
                <wsse:KeyIdentifier
ValueType="http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#EncryptedKeySHA1"EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">aWzWGE/MWydgaDLx3HTOclihR70=</wsse:KeyIdentifier>
        </wsse:SecurityTokenReference>
</KeyInfo>

Concretly i see that in the method getCallback in the WSS4JInInterceptor
class i returning a null but i dont really know what i should see here.
That's what's happening,  it just doesn't enter in the first if and later it
doesnt find any TokenStore

Finally the exception thrown is 

org.apache.ws.security.WSSecurityException: General security error
(WSSecurityEngine: Callback supplied no password for:
aWzWGE/MWydgaDLx3HTOclihR70=); nested exception is: 
        java.lang.NullPointerException

I configured in the interceptor the properties:

ACTION
USER
SIGNATURE_USER
PW_CALLBACK_CLASS
SIG_PROP_FILE

I should have other things?

Thanks for all.





--
View this message in context: 
http://cxf.547215.n5.nabble.com/WSS4JInInterceptor-getCallback-null-tp3406991p3406991.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to