This commit is contained in:
Arjen Poutsma
2008-02-27 14:21:43 +00:00
parent 8a3cf1f980
commit d8d790a2a2

View File

@@ -162,6 +162,11 @@ public class Wss4jSecurityInterceptor extends AbstractWsSecurityInterceptor impl
handler.setSecurementEncryptionCrypto(securementEncryptionCrypto);
}
/** Sets the key name that needs to be sent for encryption. */
public void setSecurementEncryptionEmbeddedKeyName(String securementEncryptionEmbeddedKeyName) {
handler.setOption(WSHandlerConstants.ENC_KEY_NAME, securementEncryptionEmbeddedKeyName);
}
/**
* Defines which key identifier type to use. The WS-Security specifications recommends to use the identifier type
* <code>IssuerSerial</code>. For possible encryption key identifier types refer to {@link