Class SecurityTokenReferenceTest
- java.lang.Object
-
- org.apache.wss4j.dom.message.token.SecurityTokenReferenceTest
-
public class SecurityTokenReferenceTest extends Object
Some tests for the SecurityTokenReference class.
-
-
Constructor Summary
Constructors Constructor Description SecurityTokenReferenceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testEmbeddedSTRChild()
Test for a SecurityTokenReference having an Embedded Child, which in turn has a SecurityTokenReference child.void
testKeyIdentifierBadEncodingType()
Test for a SecurityTokenReference having a Key Identifier with a bad EncodingTypevoid
testKeyIdentifierNoEncodingType()
Test for a SecurityTokenReference having a Key Identifier with no EncodingTypevoid
testKeyIdentifierNoValueType()
Test for a SecurityTokenReference having a Key Identifier with no ValueTypevoid
testKeyIdentifierSAMLNoEncodingType()
Test for a SecurityTokenReference having a Key Identifier with no EncodingType, but it should pass as the ValueType is for a SAML Assertion.void
testMultipleChildren()
Test for a SecurityTokenReference having multiple data referencesvoid
testMultipleEmbeddedChildren()
Test for a SecurityTokenReference having an Embedded Child, which has multiple children.void
testReferenceNoURI()
Test for a Reference with no URI
-
-
-
Method Detail
-
testReferenceNoURI
@Test public void testReferenceNoURI() throws Exception
Test for a Reference with no URI- Throws:
Exception
-
testMultipleChildren
@Test public void testMultipleChildren() throws Exception
Test for a SecurityTokenReference having multiple data references- Throws:
Exception
-
testKeyIdentifierNoValueType
@Test public void testKeyIdentifierNoValueType() throws Exception
Test for a SecurityTokenReference having a Key Identifier with no ValueType- Throws:
Exception
-
testKeyIdentifierBadEncodingType
@Test public void testKeyIdentifierBadEncodingType() throws Exception
Test for a SecurityTokenReference having a Key Identifier with a bad EncodingType- Throws:
Exception
-
testKeyIdentifierNoEncodingType
@Test public void testKeyIdentifierNoEncodingType() throws Exception
Test for a SecurityTokenReference having a Key Identifier with no EncodingType- Throws:
Exception
-
testKeyIdentifierSAMLNoEncodingType
@Test public void testKeyIdentifierSAMLNoEncodingType() throws Exception
Test for a SecurityTokenReference having a Key Identifier with no EncodingType, but it should pass as the ValueType is for a SAML Assertion.- Throws:
Exception
-
testEmbeddedSTRChild
@Test public void testEmbeddedSTRChild() throws Exception
Test for a SecurityTokenReference having an Embedded Child, which in turn has a SecurityTokenReference child.- Throws:
Exception
-
-