Class BSTKerberosTest


  • public class BSTKerberosTest
    extends Object
    This is a test for the Kerberos Token Profile 1.1
    • Method Detail

      • testCreateBinarySecurityToken

        @Test
        public void testCreateBinarySecurityToken()
                                           throws Exception
        A unit test for creating BinarySecurityTokens
        Throws:
        Exception
      • testSignBST

        @Test
        public void testSignBST()
                         throws Exception
        A test for signing a Kerberos BST
        Throws:
        Exception
      • testSignBSTTimestamp

        @Test
        public void testSignBSTTimestamp()
                                  throws Exception
        A test for signing a Kerberos BST as well as a Timestamp
        Throws:
        Exception
      • testProcessToken

        @Test
        public void testProcessToken()
                              throws Exception
        Test Validating a Kerberos BinarySecurityToken
        Throws:
        Exception
      • testProcessTokenCustomValidator

        @Test
        public void testProcessTokenCustomValidator()
                                             throws Exception
        Test Validating a Kerberos BinarySecurityToken using a custom Validator instance.
        Throws:
        Exception
      • testKerberosSignatureDRCreation

        @Test
        public void testKerberosSignatureDRCreation()
                                             throws Exception
        A test for signing using a direct reference to a Kerberos token
        Throws:
        Exception
      • testKerberosSignatureKICreation

        @Test
        public void testKerberosSignatureKICreation()
                                             throws Exception
        A test for signing using a KeyIdentifier to a Kerberos token
        Throws:
        Exception
      • testKerberosEncryptionDRCreation

        @Test
        public void testKerberosEncryptionDRCreation()
                                              throws Exception
        A test for encryption using a direct reference to a Kerberos token
        Throws:
        Exception
      • testKerberosEncryptionKICreation

        @Test
        public void testKerberosEncryptionKICreation()
                                              throws Exception
        A test for encryption using a Key Identifier to a Kerberos token
        Throws:
        Exception