Class IssuedTokenTest
- java.lang.Object
-
- org.apache.wss4j.stax.test.AbstractTestBase
-
- org.apache.wss4j.policy.stax.test.AbstractPolicyTestBase
-
- org.apache.wss4j.policy.stax.test.IssuedTokenTest
-
public class IssuedTokenTest extends AbstractPolicyTestBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wss4j.stax.test.AbstractTestBase
AbstractTestBase.TestSecurityEventListener
-
-
Field Summary
-
Fields inherited from class org.apache.wss4j.stax.test.AbstractTestBase
documentBuilderFactory, SECURED_DOCUMENT, TRANSFORMER_FACTORY, xmlInputFactory
-
-
Constructor Summary
Constructors Constructor Description IssuedTokenTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testPolicyWithKerberosToken()
void
testPolicyWithKerberosTokenWrongTokenType()
void
testPolicyWithSAMLToken()
void
testPolicyWithSAMLTokenMissingClaimType()
void
testPolicyWithSAMLTokenWrongIssuer()
void
testPolicyWithSAMLTokenWrongKeyType()
void
testPolicyWithSAMLTokenWrongTokenType()
-
Methods inherited from class org.apache.wss4j.policy.stax.test.AbstractPolicyTestBase
buildAndStartPolicyEngine, buildAndStartPolicyEngine, buildAndStartPolicyEngine, createSamlAssertionWrapper, getDsaKeyValueSecurityToken, getECKeyValueSecurityToken, getHttpsSecurityToken, getKerberosServiceSecurityToken, getRsaKeyValueSecurityToken, getX509Token, getX509Token, loadResourceAsString, setUp
-
Methods inherited from class org.apache.wss4j.stax.test.AbstractTestBase
doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurityWithWSS4J, doInboundSecurityWithWSS4J_1, doInboundSecurityWithWSS4J_1, doOutboundSecurity, doOutboundSecurity, doOutboundSecurityWithWSS4J, doOutboundSecurityWithWSS4J_1, getJavaSpecificationVersion, getMessageContext, getXPath
-
-
-
-
Method Detail
-
testPolicyWithSAMLToken
@Test public void testPolicyWithSAMLToken() throws Exception
- Throws:
Exception
-
testPolicyWithSAMLTokenWrongIssuer
@Test public void testPolicyWithSAMLTokenWrongIssuer() throws Exception
- Throws:
Exception
-
testPolicyWithSAMLTokenWrongTokenType
@Test public void testPolicyWithSAMLTokenWrongTokenType() throws Exception
- Throws:
Exception
-
testPolicyWithSAMLTokenWrongKeyType
@Test public void testPolicyWithSAMLTokenWrongKeyType() throws Exception
- Throws:
Exception
-
testPolicyWithSAMLTokenMissingClaimType
@Test public void testPolicyWithSAMLTokenMissingClaimType() throws Exception
- Throws:
Exception
-
testPolicyWithKerberosToken
@Test public void testPolicyWithKerberosToken() throws Exception
- Throws:
Exception
-
-