|
||||||||||
| 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.SamlTokenTest
public class SamlTokenTest
Test-case for sending and processing an unsigned (sender vouches) SAML Assertion.
| Constructor Summary | |
|---|---|
SamlTokenTest()
|
|
| Method Summary | |
|---|---|
void |
testSaml1Action()
This test checks that an unsigned SAML1 sender-vouches authentication assertion can be created by the WSHandler implementation |
void |
testSAML1AttrAssertion()
Test that creates, sends and processes an unsigned SAML 1.1 attribute assertion. |
void |
testSAML1AuthnAssertion()
Test that creates, sends and processes an unsigned SAML 1.1 authentication assertion. |
void |
testSAML1AuthnAssertionFromProperties()
Test that creates, sends and processes an unsigned SAML 1 authentication assertion, where the configuration is loaded from a properties file |
void |
testSAML1AuthnAssertionViaElement()
Test that creates, sends and processes an unsigned SAML 1.1 authentication assertion. |
void |
testSAML1AuthnBadIssuerAssertion()
Test that creates, sends and processes an unsigned SAML 1.1 authentication assertion. |
void |
testSAML1AuthzAssertion()
Test that creates, sends and processes an unsigned SAML 1.1 authorization assertion. |
void |
testSAML1Resource()
Test that creates, sends and processes an unsigned SAML 1.1 authorization assertion with a Resource URI. |
void |
testSAML1SubjectLocality()
Test that creates, sends and processes an unsigned SAML 1.1 authentication assertion with a user-specified SubjectLocality statement. |
void |
testSAML1SubjectNameIDFormat()
Test that creates, sends and processes an unsigned SAML 1.1 authentication assertion with a user-specified SubjectNameIDFormat. |
void |
testSAML2AttrAssertion()
Test that creates, sends and processes an unsigned SAML 2 attribute assertion. |
void |
testSAML2AttrAssertionCustomAttribute()
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. |
void |
testSAML2AuthnBadIssuerAssertion()
Test that creates, sends and processes an unsigned SAML 2 authentication assertion. |
void |
testSAML2AuthzAssertion()
Test that creates, sends and processes an unsigned SAML 2 authorization assertion. |
void |
testSAML2SubjectConfirmationData()
Test that creates, sends and processes an unsigned SAML 2 authentication assertion with SubjectConfirmationData information. |
void |
testSAML2SubjectLocality()
Test that creates, sends and processes an unsigned SAML 2 authentication assertion with a user-specified SubjectLocality statement. |
void |
testSAML2SubjectNameIDFormat()
Test that creates, sends and processes an unsigned SAML 2 authentication assertion with a user-specified SubjectNameIDFormat. |
| 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 SamlTokenTest()
| Method Detail |
|---|
public void testSAML1AuthnAssertion()
throws java.lang.Exception
java.lang.Exception
public void testSAML1AuthnAssertionFromProperties()
throws java.lang.Exception
java.lang.Exception
public void testSAML1AuthnAssertionViaElement()
throws java.lang.Exception
java.lang.Exception
public void testSAML1AttrAssertion()
throws java.lang.Exception
java.lang.Exception
public void testSAML1AuthzAssertion()
throws java.lang.Exception
java.lang.Exception
public void testSAML2AuthnAssertion()
throws java.lang.Exception
java.lang.Exception
public void testSAML2AttrAssertion()
throws java.lang.Exception
java.lang.Exception
public void testSAML2AuthzAssertion()
throws java.lang.Exception
java.lang.Exception
public void testSaml1Action()
throws java.lang.Exception
java.lang.Exception
public void testSAML1AuthnBadIssuerAssertion()
throws java.lang.Exception
java.lang.Exception
public void testSAML2AuthnBadIssuerAssertion()
throws java.lang.Exception
java.lang.Exception
public void testSAML1SubjectNameIDFormat()
throws java.lang.Exception
java.lang.Exception
public void testSAML2SubjectNameIDFormat()
throws java.lang.Exception
java.lang.Exception
public void testSAML1SubjectLocality()
throws java.lang.Exception
java.lang.Exception
public void testSAML2SubjectLocality()
throws java.lang.Exception
java.lang.Exception
public void testSAML1Resource()
throws java.lang.Exception
java.lang.Exception
public void testSAML2AttrAssertionCustomAttribute()
throws java.lang.Exception
java.lang.Exception
public void testSAML2SubjectConfirmationData()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||