Class BSTKerberosTest
- java.lang.Object
-
- org.apache.wss4j.dom.message.token.BSTKerberosTest
-
public class BSTKerberosTest extends Object
This is a test for the Kerberos Token Profile 1.1
-
-
Constructor Summary
Constructors Constructor Description BSTKerberosTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testCreateBinarySecurityToken()
A unit test for creating BinarySecurityTokensvoid
testKerberosEncryptionDRCreation()
A test for encryption using a direct reference to a Kerberos tokenvoid
testKerberosEncryptionKICreation()
A test for encryption using a Key Identifier to a Kerberos tokenvoid
testKerberosSignatureDRCreation()
A test for signing using a direct reference to a Kerberos tokenvoid
testKerberosSignatureKICreation()
A test for signing using a KeyIdentifier to a Kerberos tokenvoid
testProcessToken()
Test Validating a Kerberos BinarySecurityTokenvoid
testProcessTokenCustomValidator()
Test Validating a Kerberos BinarySecurityToken using a custom Validator instance.void
testSignBST()
A test for signing a Kerberos BSTvoid
testSignBSTTimestamp()
A test for signing a Kerberos BST as well as a Timestamp
-
-
-
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
-
-