Package org.apache.wss4j.dom.saml
Class SamlTokenHOKTest
- java.lang.Object
-
- org.apache.wss4j.dom.saml.SamlTokenHOKTest
-
public class SamlTokenHOKTest extends Object
Test-case for sending and processing a signed (holder-of-key) SAML Assertion. These tests just cover the case of creating and signing the Assertion, and not using the credential information in the SAML Subject to sign the SOAP body.
-
-
Constructor Summary
Constructors Constructor Description SamlTokenHOKTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testSAML1AttrAssertion()
Test that creates, sends and processes a signed SAML 1.1 attribute assertion.void
testSAML1AuthnAssertion()
Test that creates, sends and processes a signed SAML 1.1 authentication assertion.void
testSAML2AttrAssertion()
Test that creates, sends and processes an unsigned SAML 2 attribute assertion.void
testSAML2AuthnAssertion()
Test that creates, sends and processes an unsigned SAML 2 authentication assertion.
-
-
-
Method Detail
-
testSAML1AuthnAssertion
@Test public void testSAML1AuthnAssertion() throws Exception
Test that creates, sends and processes a signed SAML 1.1 authentication assertion.- Throws:
Exception
-
testSAML1AttrAssertion
@Test public void testSAML1AttrAssertion() throws Exception
Test that creates, sends and processes a signed SAML 1.1 attribute assertion.- Throws:
Exception
-
testSAML2AuthnAssertion
@Test public void testSAML2AuthnAssertion() throws Exception
Test that creates, sends and processes an unsigned SAML 2 authentication assertion.- Throws:
Exception
-
-