Class KerberosTest
- java.lang.Object
-
- org.apache.wss4j.integration.test.kerberos.KerberosTest
-
public class KerberosTest extends Object
-
-
Constructor Summary
Constructors Constructor Description KerberosTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
setUp()
static void
tearDown()
void
testKerberosClient()
Various unit tests for a kerberos clientvoid
testKerberosCreationAndProcessing()
Test using the KerberosSecurity class to retrieve a service ticket from a KDC, wrap it in a BinarySecurityToken, and process it.void
testKerberosEncryption()
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.void
testKerberosEncryptionBSTFirst()
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.void
testKerberosEncryptionInbound()
void
testKerberosEncryptionKI()
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.void
testKerberosEncryptionKIInbound()
void
testKerberosEncryptionOutbound()
void
testKerberosEncryptionOutboundDeprecatedTag()
void
testKerberosSignature()
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.void
testKerberosSignatureInbound()
void
testKerberosSignatureKI()
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.void
testKerberosSignatureKIInbound()
void
testKerberosSignatureOutbound()
void
testSpnego()
Get and validate a SPNEGO token.
-
-
-
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
-
-