Sample handler Parameters for Axis 1.X

"action" parameter

<parameter name="action" value="Encrypt Signature Timestamp"/>
<parameter name="action" value="Signature Encrypt Timestamp"/>
<parameter name="action" value="Signature NoSerialization"/>
<parameter name="action" value="Signature Signature Timestamp"/>
<parameter name="action" value="Signature Timestamp"/>
<parameter name="action" value="Timestamp SAMLTokenSigned"/>
<parameter name="action" value="Timestamp SAMLTokenUnsigned"/>
<parameter name="action" value="Timestamp Signature SAMLTokenUnsigned"/>
<parameter name="action" value="UsernameToken Encrypt"/>
<parameter name="action" value="UsernameToken"/>
<parameter name="action" value="UsernameTokenSignature Encrypt Timestamp"/>
<parameter name="action" value="UsernameTokenSignature UsernameToken Encrypt Timestamp"/>

"addUTElements" parameter

<parameter name="addUTElements" value="Nonce Created" />

"decryptionPropFile" parameter

<parameter name="decryptionPropFile" value="wsstest.properties" />

"EmbeddedKeyCallbackClass" parameter

<parameter name="EmbeddedKeyCallbackClass" value="org.apache.ws.axis.oasis.PWCallback1" />

"EmbeddedKeyName" parameter

<parameter name="EmbeddedKeyName" value="SessionKey" />

"encryptionKeyIdentifier" parameter

<parameter name="encryptionKeyIdentifier" value="DirectReference" />
<parameter name="encryptionKeyIdentifier" value="EmbeddedKeyName" />
<parameter name="encryptionKeyIdentifier" value="SKIKeyIdentifier" />
<parameter name="encryptionKeyIdentifier" value="IssuerSerial" />
<parameter name="encryptionKeyIdentifier" value="X509KeyIdentifier" />
<parameter name="encryptionKeyIdentifier" value="Thumbprint" />

"encryptionKeyTransportAlgorithm" parameter

<parameter name="encryptionKeyTransportAlgorithm" value="RSA15"/>

"encryptionParts" parameter

<parameter name="encryptionParts" value="{Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken" />

"encryptionPropFile" parameter

<parameter name="encryptionPropFile" value="wsstest.properties" />

"encryptionSymAlgorithm" parameter

<parameter name="encryptionSymAlgorithm" value="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" />
<parameter name="encryptionSymAlgorithm" value="http://www.w3.org/2001/04/xmlenc#aes128-cbc" />

"encryptionUser" parameter

<parameter name="encryptionUser" value="alice" />
<parameter name="encryptionUser" value="useReqSigCert" />

"passwordCallbackClass" parameter

<parameter name="passwordCallbackClass" value="org.apache.ws.axis.oasis.PWCallback1"/>

"passwordType" parameter

<parameter name="passwordType" value="PasswordText" />
<parameter name="passwordType" value="PasswordDigest" />

"precisionInMilliseconds" parameter

<parameter name="precisionInMilliseconds" value="true" />

"samlPropFile" parameter

<parameter name="samlPropFile" value="saml4.properties"/>

"signatureAlgorithm" parameter

<parameter name="signatureAlgorithm" value="SHA1RSA"/>

"signatureKeyIdentifier" parameter

<parameter name="signatureKeyIdentifier" value="DirectReference" />
<parameter name="signatureKeyIdentifier" value="EmbeddedKeyName" />
<parameter name="signatureKeyIdentifier" value="SKIKeyIdentifier" />
<parameter name="signatureKeyIdentifier" value="IssuerSerial" />
<parameter name="signatureKeyIdentifier" value="X509KeyIdentifier" />
<parameter name="signatureKeyIdentifier" value="Thumbprint" />

"signatureParts" parameter

<parameter name="signatureParts" value="{}{http://schemas.xmlsoap.org/soap/envelope/}Body;STRTransform" />
<parameter name="signatureParts" value="{}{http://xmlsoap.org/Ping}ticket" />

"signaturePropFile" parameter

<parameter name="signaturePropFile" value="wsstest.properties" />

"timeToLive" parameter

<parameter name="timeToLive" value="10" />

"user" parameter

<parameter name="user" value="Chris"/>

Sample entries in properties files

org.apache.ws.security.crypto.merlin.alias.password=security

org.apache.ws.security.crypto.merlin.file=interop/interop2.jks

org.apache.ws.security.crypto.merlin.file=keys/wss4j.keystore

org.apache.ws.security.crypto.merlin.file=keys/x509.PFX.MSFT

org.apache.ws.security.crypto.merlin.keystore.alias=16c73ab6-b892-458f-abf5-2f875f74882e

org.apache.ws.security.crypto.merlin.keystore.password=password

org.apache.ws.security.crypto.merlin.keystore.password=security

org.apache.ws.security.crypto.merlin.keystore.type=jks

org.apache.ws.security.crypto.merlin.keystore.type=pkcs12

org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin

org.apache.ws.security.saml.authenticationMethod=password

org.apache.ws.security.saml.confirmationMethod=keyHolder

org.apache.ws.security.saml.confirmationMethod=senderVouches

org.apache.ws.security.saml.issuer.cryptoProp.file=crypto.properties

org.apache.ws.security.saml.issuer.key.name=16c73ab6-b892-458f-abf5-2f875f74882e

org.apache.ws.security.saml.issuer.key.password=security

org.apache.ws.security.saml.issuer=www.example.com

org.apache.ws.security.saml.issuerClass=org.apache.ws.security.saml.SAMLIssuerImpl

org.apache.ws.security.saml.issuerCryptoProp.file=crypto.properties

org.apache.ws.security.saml.subjectNameId.name=uid=joe,ou=people,ou=saml-demo,o=example.com

org.apache.ws.security.saml.subjectNameId.qualifier=www.example.com

FrontPage/WsFx/wss4jParameters (last edited 2009-09-20 22:47:53 by localhost)