Class 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 Detail

      • PasswordTypeTest

        public PasswordTypeTest()
    • 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
      • testUsernameTokenWSHandler

        @Test
        public void testUsernameTokenWSHandler()
                                        throws Exception
        Test that adds a UserNameToken via WSHandler
        Throws:
        Exception