Package org.apache.wss4j.dom.handler
Class SignatureUTAliasTest
- java.lang.Object
-
- org.apache.wss4j.dom.handler.SignatureUTAliasTest
-
- All Implemented Interfaces:
CallbackHandler
public class SignatureUTAliasTest extends Object implements CallbackHandler
This is a test for WSS-194 - "Support overriding KeyStore alias for signature so that it can be different than user name used for UsernameToken".
-
-
Constructor Summary
Constructors Constructor Description SignatureUTAliasTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(Callback[] callbacks)
void
testUsernameTokenSignatureHandler()
Test involving adding a Username Token to a SOAP message and signing it, where the private key for signature is extracted from the KeyStore using a different username/alias to the UsernameToken.
-
-
-
Method Detail
-
testUsernameTokenSignatureHandler
@Test public void testUsernameTokenSignatureHandler() throws Exception
Test involving adding a Username Token to a SOAP message and signing it, where the private key for signature is extracted from the KeyStore using a different username/alias to the UsernameToken.- Throws:
Exception
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
-
-