axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malinda Kaushalye Kapuruge (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2C-456) It is not possible to set parameters in service and operation levels
Date Tue, 12 Dec 2006 07:23:21 GMT
     [ http://issues.apache.org/jira/browse/AXIS2C-456?page=all ]

Malinda Kaushalye Kapuruge resolved AXIS2C-456.
-----------------------------------------------

    Fix Version/s: Current (Nightly)
                       (was: 0.96)
       Resolution: Fixed

Fixed.


> It is not possible to set parameters in service and operation levels
> --------------------------------------------------------------------
>
>                 Key: AXIS2C-456
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-456
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>         Environment: Any
>            Reporter: Malinda Kaushalye Kapuruge
>         Assigned To: Malinda Kaushalye Kapuruge
>            Priority: Critical
>             Fix For: Current (Nightly)
>
>
> It should be possible to set parameters for service and operation levels.
> This is vital as users might have different services and operations with different parameter
configurations.
> For example a user might need to enable security (or any other module) only for few services.
Moreover it might be necessary to have encryption enabled only for one service and authentication
mechanism for another service.
> I tested this scenario by adding parameters to the services.xml of the echo service and
engaging the rampart module in axis2.xml (global). But there were not parameters in the message
context.
> But this works fine when I specify parameters in the global level.
> Here is a sample parameter configuration in rampart.
>     <parameter name="OutflowSecurity">
>       <action>
>         <items>UsernameToken Timestamp Encrypt</items>
>         <user>Gampola</user>
>         <passwordType>passwordDigest</passwordType>
>         <!--Following should be changed with your DLL or SO path-->
>         <passwordCallbackClass>/home/kau/axis2/c/deploy/bin/samples/rampart/callback/libpwcb.so</passwordCallbackClass>
>         <timeToLive>360</timeToLive>
>         <encryptionKeyTransportAlgorithm>http://www.w3.org/2001/04/xmlenc#rsa-1_5</encryptionKeyTransportAlgorithm>
>         <encryptionSymAlgorithm>http://www.w3.org/2001/04/xmlenc#aes256-cbc</encryptionSymAlgorithm>
>         <encryptionPropFile>/home/kau/axis2/c/rampart/samples/keys/ahome/b_cert.cert</encryptionPropFile>
>         <!--encryptionKeyIdentifier options : Embedded IssuerSerial DirectReference
KeyIdentifier-->
>         <encryptionKeyIdentifier>IssuerSerial</encryptionKeyIdentifier>
>       </action>
>     </parameter>
>     <parameter name="InflowSecurity">
>       <action>
>         <items>Encrypt</items>
>         <!--Following should be changed with your DLL or SO path-->
>         <passwordCallbackClass>/home/kau/axis2/c/deploy/bin/samples/rampart/callback/libpwcb.so</passwordCallbackClass>
>         <decryptionPropFile>/home/kau/axis2/c/rampart/samples/keys/ahome/a_store.pfx</decryptionPropFile>
>         <encryptionUser>a</encryptionUser>
>       </action>
>     </parameter>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message