|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.junit.Assert
org.apache.ws.security.saml.SamlReferenceTest
public class SamlReferenceTest
Some tests for how SAML tokens are referenced.
| Constructor Summary | |
|---|---|
SamlReferenceTest()
|
|
| Method Summary | |
|---|---|
void |
testAssertionBelowSTR()
WS-Security Test Case for WSS-178 - "signature verification failure of signed saml token due to "The Reference for URI (bst-saml-uri) has no XMLSignatureInput". |
void |
testSAML1HOKDirectReference()
Test that creates, sends and processes an signed SAML 1.1 holder-of-key assertion, where the SecurityTokenReference that points to the SAML Assertion uses a direct reference, and not a KeyIdentifier. |
void |
testSAML1HOKEKDirectReference()
The body of the SOAP request is encrypted using a secret key, which is in turn encrypted using the certificate embedded in the SAML assertion and referenced using Direct Reference. |
void |
testSAML1HOKEKKeyIdentifier()
The body of the SOAP request is encrypted using a secret key, which is in turn encrypted using the certificate embedded in the SAML assertion and referenced using a Key Identifier. |
void |
testSAML1HOKKeyIdentifier()
Test that creates, sends and processes an signed SAML 1.1 holder-of-key assertion, where the SecurityTokenReference that points to the SAML Assertion uses a KeyIdentifier, and not a direct reference. |
void |
testSAML1SVDirectReference()
Test that creates, sends and processes an signed SAML 1.1 sender-vouches assertion, where the SecurityTokenReference that points to the SAML Assertion uses a direct reference, and not a KeyIdentifier. |
void |
testSAML1SVKeyIdentifier()
Test that creates, sends and processes an signed SAML 1.1 sender-vouches assertion, where the SecurityTokenReference that points to the SAML Assertion uses a KeyIdentifier, and not a direct reference. |
void |
testSAML2HOKDirectReference()
Test that creates, sends and processes an signed SAML 2 holder-of-key assertion, where the SecurityTokenReference that points to the SAML Assertion uses a direct reference, and not a KeyIdentifier. |
void |
testSAML2HOKEKDirectReference()
The body of the SOAP request is encrypted using a secret key, which is in turn encrypted using the certificate embedded in the SAML assertion and referenced using Direct Reference. |
void |
testSAML2HOKEKKeyIdentifier()
The body of the SOAP request is encrypted using a secret key, which is in turn encrypted using the certificate embedded in the SAML assertion and referenced using a Key Identifier. |
void |
testSAML2HOKKeyIdentifier()
Test that creates, sends and processes an signed SAML 2 holder-of-key assertion, where the SecurityTokenReference that points to the SAML Assertion uses a KeyIdentifier, and not a direct reference. |
void |
testSAML2SVDirectReference()
Test that creates, sends and processes an signed SAML 2 sender-vouches assertion, where the SecurityTokenReference that points to the SAML Assertion uses a direct reference, and not a KeyIdentifier. |
void |
testSAML2SVKeyIdentifier()
Test that creates, sends and processes an signed SAML 2 sender-vouches assertion, where the SecurityTokenReference that points to the SAML Assertion uses a KeyIdentifier, and not a direct reference. |
| Methods inherited from class org.junit.Assert |
|---|
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SamlReferenceTest()
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void testSAML1SVKeyIdentifier()
throws java.lang.Exception
java.lang.Exception
public void testSAML1SVDirectReference()
throws java.lang.Exception
java.lang.Exception
public void testSAML1HOKKeyIdentifier()
throws java.lang.Exception
java.lang.Exception
public void testSAML1HOKDirectReference()
throws java.lang.Exception
java.lang.Exception
public void testAssertionBelowSTR()
throws java.lang.Exception
java.lang.Exception
public void testSAML1HOKEKKeyIdentifier()
throws java.lang.Exception
java.lang.Exception
public void testSAML1HOKEKDirectReference()
throws java.lang.Exception
java.lang.Exception
public void testSAML2SVKeyIdentifier()
throws java.lang.Exception
java.lang.Exception
public void testSAML2SVDirectReference()
throws java.lang.Exception
java.lang.Exception
public void testSAML2HOKKeyIdentifier()
throws java.lang.Exception
java.lang.Exception
public void testSAML2HOKDirectReference()
throws java.lang.Exception
java.lang.Exception
public void testSAML2HOKEKKeyIdentifier()
throws java.lang.Exception
java.lang.Exception
public void testSAML2HOKEKDirectReference()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||