Differences between revisions 11 and 12
Revision 11 as of 2005-10-21 02:26:37
Size: 8005
Comment:
Revision 12 as of 2009-09-20 22:47:53
Size: 8047
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ACTION "action" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ACTION|"action" parameter]]
Line 17: Line 17:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ADD_UT_ELEMENTS "addUTElements" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ADD_UT_ELEMENTS|"addUTElements" parameter]]
Line 21: Line 21:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#DEC_PROP_FILE "decryptionPropFile" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#DEC_PROP_FILE|"decryptionPropFile" parameter]]
Line 25: Line 25:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_CALLBACK_CLASS "EmbeddedKeyCallbackClass" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_CALLBACK_CLASS|"EmbeddedKeyCallbackClass" parameter]]
Line 29: Line 29:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_KEY_NAME "EmbeddedKeyName" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_KEY_NAME|"EmbeddedKeyName" parameter]]
Line 33: Line 33:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_KEY_ID "encryptionKeyIdentifier" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_KEY_ID|"encryptionKeyIdentifier" parameter]]
Line 42: Line 42:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_KEY_TRANSPORT "encryptionKeyTransportAlgorithm" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_KEY_TRANSPORT|"encryptionKeyTransportAlgorithm" parameter]]
Line 46: Line 46:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENCRYPTION_PARTS "encryptionParts" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENCRYPTION_PARTS|"encryptionParts" parameter]]
Line 50: Line 50:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_PROP_FILE "encryptionPropFile" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_PROP_FILE|"encryptionPropFile" parameter]]
Line 54: Line 54:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_SYM_ALGO "encryptionSymAlgorithm" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENC_SYM_ALGO|"encryptionSymAlgorithm" parameter]]
Line 59: Line 59:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENCRYPTION_USER "encryptionUser" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#ENCRYPTION_USER|"encryptionUser" parameter]]
Line 64: Line 64:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#PW_CALLBACK_CLASS "passwordCallbackClass" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#PW_CALLBACK_CLASS|"passwordCallbackClass" parameter]]
Line 68: Line 68:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#PASSWORD_TYPE "passwordType" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#PASSWORD_TYPE|"passwordType" parameter]]
Line 73: Line 73:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#TIMESTAMP_PRECISION "precisionInMilliseconds" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#TIMESTAMP_PRECISION|"precisionInMilliseconds" parameter]]
Line 77: Line 77:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#SAML_PROP_FILE "samlPropFile" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#SAML_PROP_FILE|"samlPropFile" parameter]]
Line 81: Line 81:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#SIG_ALGO "signatureAlgorithm" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#SIG_ALGO|"signatureAlgorithm" parameter]]
Line 85: Line 85:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#SIG_KEY_ID "signatureKeyIdentifier" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#SIG_KEY_ID|"signatureKeyIdentifier" parameter]]
Line 94: Line 94:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#SIGNATURE_PARTS "signatureParts" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#SIGNATURE_PARTS|"signatureParts" parameter]]
Line 99: Line 99:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#SIG_PROP_FILE "signaturePropFile" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#SIG_PROP_FILE|"signaturePropFile" parameter]]
Line 103: Line 103:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#TTL_TIMESTAMP "timeToLive" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#TTL_TIMESTAMP|"timeToLive" parameter]]
Line 107: Line 107:
[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#USER "user" parameter] [[http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/handler/WSHandlerConstants.html#USER|"user" parameter]]

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)