Changeset 4084 for TI12-security/trunk


Ignore:
Timestamp:
04/08/08 15:32:20 (11 years ago)
Author:
cbyrom
Message:

Fix axis2.xml rampart config section: adjust ordering of action items +
add required signatureparts + change password callback class and avoid chunking
transport.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/java/axis2/xmlBeansSample04/conf/axis2.xml

    r3585 r4084  
    1919 
    2020        <module ref="rampart" /> 
    21  
    22         <module ref="rampart" /> 
    2321         
    2422        <parameter name="OutflowSecurity"> 
     
    2725        <user>client</user> 
    2826        <signaturePropFile>client.properties</signaturePropFile> 
    29         <passwordCallbackClass>org.apache.rampart.samples.sample04.PWCBHandler</passwordCallbackClass> 
     27        <passwordCallbackClass>wssecurity.test.security.ndg.PWCBHandler</passwordCallbackClass> 
    3028        <signatureKeyIdentifier>DirectReference</signatureKeyIdentifier> 
     29                <signatureParts>{Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp;{Element}{http://schemas.xmlsoap.org/soap/envelope/}Body;</signatureParts> 
    3130      </action> 
    3231    </parameter> 
     
    3433    <parameter name="InflowSecurity"> 
    3534      <action> 
    36         <items>Timestamp Signature</items> 
     35        <items>Signature Timestamp</items> 
    3736        <signaturePropFile>client.properties</signaturePropFile> 
     37        <passwordCallbackClass>wssecurity.test.security.ndg.PWCBHandler</passwordCallbackClass> 
    3838      </action> 
    3939    </parameter> 
     
    148148                     class="org.apache.axis2.transport.http.CommonsHTTPTransportSender"> 
    149149        <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> 
     150        <!--  
    150151        <parameter name="Transfer-Encoding" locked="false">chunked</parameter> 
     152                --> 
    151153    </transportSender> 
    152154    <transportSender name="https" 
Note: See TracChangeset for help on using the changeset viewer.