Spring Web Services Framework

org.springframework.ws.soap.security.wss4j
Class Wss4jMessageInterceptorSpringSecurityCallbackHandlerTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.ws.soap.security.wss4j.Wss4jTestCase
              extended by org.springframework.ws.soap.security.wss4j.Wss4jMessageInterceptorSpringSecurityCallbackHandlerTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AxiomWss4jMessageInterceptorSpringSecurityCallbackHandlerTest, SaajWss4jMessageInterceptorSpringSecurityCallbackHandlerTest

public abstract class Wss4jMessageInterceptorSpringSecurityCallbackHandlerTestCase
extends Wss4jTestCase


Field Summary
 
Fields inherited from class org.springframework.ws.soap.security.wss4j.Wss4jTestCase
axiomTest, messageFactory, namespaces, saajTest
 
Constructor Summary
Wss4jMessageInterceptorSpringSecurityCallbackHandlerTestCase()
           
 
Method Summary
protected  void assertValidateUsernameToken(org.springframework.ws.soap.SoapMessage message)
           
protected  void onSetup()
           
protected  org.springframework.ws.server.EndpointInterceptor prepareInterceptor(String actions, boolean validating, boolean digest)
           
protected  void tearDown()
           
 void testValidateUsernameTokenDigest()
           
 void testValidateUsernameTokenPlainText()
           
 
Methods inherited from class org.springframework.ws.soap.security.wss4j.Wss4jTestCase
assertXpathEvaluatesTo, assertXpathExists, assertXpathNotExists, getDocument, getMessage, getMessageContext, getMessageFactory, loadAxiomMessage, loadMessage, loadSaajMessage, setMessage, setUp
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Wss4jMessageInterceptorSpringSecurityCallbackHandlerTestCase

public Wss4jMessageInterceptorSpringSecurityCallbackHandlerTestCase()
Method Detail

onSetup

protected void onSetup()
                throws Exception
Overrides:
onSetup in class Wss4jTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testValidateUsernameTokenPlainText

public void testValidateUsernameTokenPlainText()
                                        throws Exception
Throws:
Exception

testValidateUsernameTokenDigest

public void testValidateUsernameTokenDigest()
                                     throws Exception
Throws:
Exception

assertValidateUsernameToken

protected void assertValidateUsernameToken(org.springframework.ws.soap.SoapMessage message)
                                    throws Exception
Throws:
Exception

prepareInterceptor

protected org.springframework.ws.server.EndpointInterceptor prepareInterceptor(String actions,
                                                                               boolean validating,
                                                                               boolean digest)
                                                                        throws Exception
Throws:
Exception

Spring Web Services Framework

Copyright © 2005-2008 The Spring Web Services Framework. All Rights Reserved.