wss4j « security « Java Enterprise Q&A





1. Inserting Username token in security header of already generated SOAP envelope gives me two headers!    stackoverflow.com

I'm using WSS4J to add a Username token in the header of an already formed SOAP request envelope. Here is what the SOAP request looks like:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://sample03.samples.rampart.apache.org/xsd">   ...

2. WSS4J & Binary security token    coderanch.com

Ok thanks. I already found that info on xml.com, but it sounds very, very manually and very, very bad practise ? The code uses a SignatureToken class which extends token and next a BinarySecurityTokenWithReference class that extends SignatureToken. There are three things that I don't coop with: - The code is very messy and has 'catch Exception' all over the place ...

4. Wss4J Security question on Username Token    coderanch.com

Hi, I had a doubt on the following scenario. There is a set of web services hosted on a Microsoft environment (acting as producers). The access to these web services is primarily based on a two step methodology Step 1: Use Authentication service by sending relevant username, password details which returns a session token if the user is valid Step 2. ...