Package org.apache.wss4j.dom.message
Class PasswordTypeTest
- java.lang.Object
-
- org.apache.wss4j.dom.message.PasswordTypeTest
-
public class PasswordTypeTest extends Object
This is a test for processing a Username Token to enforce either a plaintext or digest password type. See WSS-255.
-
-
Constructor Summary
Constructors Constructor Description PasswordTypeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testPasswordDigest()
Test that adds a UserNameToken with password Digest to a WS-Security envelopevoid
testUsernameTokenText()
Test that adds a UserNameToken with password text to a WS-Security envelopevoid
testUsernameTokenWSHandler()
Test that adds a UserNameToken via WSHandler
-
-
-
Method Detail
-
testPasswordDigest
@Test public void testPasswordDigest() throws Exception
Test that adds a UserNameToken with password Digest to a WS-Security envelope- Throws:
Exception
-
testUsernameTokenText
@Test public void testUsernameTokenText() throws Exception
Test that adds a UserNameToken with password text to a WS-Security envelope- Throws:
Exception
-
-