Hi,
   If you are using the policy based configuration, Rampart configuration is
in the service policy as a RampartConfig assertion. You will have to
take it from the policy.

            if(msgCtx.getProperty(KEY_RAMPART_POLICY) != null) {
                this.servicePolicy =
(Policy)msgCtx.getProperty(KEY_RAMPART_POLICY);
            }

or
            Parameter param = msgCtx.getParameter(
RampartMessageData.KEY_RAMPART_POLICY);
            if(param != null) {
                    OMElement policyElem = param.getParameterElement
().getFirstElement();
                    this.servicePolicy = PolicyEngine.getPolicy(policyElem);
            }

Thanks,
Nandana

On Dec 11, 2007 1:47 PM, Christian Mielke <[EMAIL PROTECTED]> wrote:

> Hello!
>
> I want to write a handler which needs the RAMPART configuration during
> runtime. Where can I find the defined parameters? Are they in the message
> context?
>
> Greetings
> Chris
>

Reply via email to