Class WSSecurityObjectsTestCase
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.soap.testing.WSBaseTestCase
-
- org.opensaml.soap.wssecurity.impl.WSSecurityObjectsTestCase
-
public class WSSecurityObjectsTestCase extends WSBaseTestCase
WSSecurityObjectsTestCase is the base test case for the WS-Security objects.
-
-
Field Summary
Fields Modifier and Type Field Description org.slf4j.Loggerlog-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description WSSecurityObjectsTestCase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UsernameTokencreateUsernameToken(String user, String pass)voidtestBinarySecurityToken()voidtestCreated()voidtestEmbedded()voidtestEncryptedHeader()voidtestExpires()voidtestIteration()voidtestKeyIdentifier()voidtestNonce()voidtestPassword()voidtestReference()voidtestSalt()voidtestSecurity()voidtestSecurityTokenReference()voidtestSignatureConfirmation()voidtestTimestamp()voidtestTransformationParameters()voidtestUsername()voidtestUsernameToken()protected voidunmarshallAndMarshall(String filename)-
Methods inherited from class org.opensaml.soap.testing.WSBaseTestCase
marshallAndUnmarshall
-
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Method Detail
-
unmarshallAndMarshall
protected void unmarshallAndMarshall(String filename) throws Exception
- Throws:
Exception
-
testSecurityTokenReference
public void testSecurityTokenReference() throws Exception- Throws:
Exception
-
testSignatureConfirmation
public void testSignatureConfirmation() throws Exception- Throws:
Exception
-
testTransformationParameters
public void testTransformationParameters() throws Exception- Throws:
Exception
-
createUsernameToken
protected UsernameToken createUsernameToken(String user, String pass) throws Exception
- Throws:
Exception
-
-