Class KerberosTest


  • public class KerberosTest
    extends Object
    • Constructor Detail

      • KerberosTest

        public KerberosTest()
    • Method Detail

      • testKerberosCreationAndProcessing

        @Test
        public void testKerberosCreationAndProcessing()
                                               throws Exception
        Test using the KerberosSecurity class to retrieve a service ticket from a KDC, wrap it in a BinarySecurityToken, and process it.
        Throws:
        Exception
      • testSpnego

        @Test
        public void testSpnego()
                        throws Exception
        Get and validate a SPNEGO token.
        Throws:
        Exception
      • testKerberosClient

        @Test
        public void testKerberosClient()
                                throws Exception
        Various unit tests for a kerberos client
        Throws:
        Exception
      • testKerberosSignature

        @Test
        public void testKerberosSignature()
                                   throws Exception
        Test using the KerberosSecurity class to retrieve a service ticket from a KDC, wrap it in a BinarySecurityToken, and use the session key to sign the SOAP Body.
        Throws:
        Exception
      • testKerberosSignatureKI

        @Test
        public void testKerberosSignatureKI()
                                     throws Exception
        Test using the KerberosSecurity class to retrieve a service ticket from a KDC, wrap it in a BinarySecurityToken, and use the session key to sign the SOAP Body.
        Throws:
        Exception
      • testKerberosEncryption

        @Test
        public void testKerberosEncryption()
                                    throws Exception
        Test using the KerberosSecurity class to retrieve a service ticket from a KDC, wrap it in a BinarySecurityToken, and use the session key to encrypt the SOAP Body.
        Throws:
        Exception
      • testKerberosEncryptionBSTFirst

        @Test
        public void testKerberosEncryptionBSTFirst()
                                            throws Exception
        Test using the KerberosSecurity class to retrieve a service ticket from a KDC, wrap it in a BinarySecurityToken, and use the session key to encrypt the SOAP Body.
        Throws:
        Exception
      • testKerberosEncryptionKI

        @Test
        public void testKerberosEncryptionKI()
                                      throws Exception
        Test using the KerberosSecurity class to retrieve a service ticket from a KDC, wrap it in a BinarySecurityToken, and use the session key to encrypt the SOAP Body.
        Throws:
        Exception
      • testKerberosSignatureOutbound

        @Test
        public void testKerberosSignatureOutbound()
                                           throws Exception
        Throws:
        Exception
      • testKerberosSignatureInbound

        @Test
        public void testKerberosSignatureInbound()
                                          throws Exception
        Throws:
        Exception
      • testKerberosSignatureKIInbound

        @Test
        public void testKerberosSignatureKIInbound()
                                            throws Exception
        Throws:
        Exception
      • testKerberosEncryptionOutbound

        @Test
        public void testKerberosEncryptionOutbound()
                                            throws Exception
        Throws:
        Exception
      • testKerberosEncryptionOutboundDeprecatedTag

        @Test
        public void testKerberosEncryptionOutboundDeprecatedTag()
                                                         throws Exception
        Throws:
        Exception
      • testKerberosEncryptionInbound

        @Test
        public void testKerberosEncryptionInbound()
                                           throws Exception
        Throws:
        Exception
      • testKerberosEncryptionKIInbound

        @Test
        public void testKerberosEncryptionKIInbound()
                                             throws Exception
        Throws:
        Exception