Examples of InflowConfiguration


Examples of org.apache.rampart.handler.config.InflowConfiguration

        return ofc;
    }

    public InflowConfiguration getClientInflowConfiguration() {
        InflowConfiguration ifc = new InflowConfiguration();

        ifc.setActionItems("Signature Encrypt Timestamp");
        ifc.setPasswordCallbackClass(PWCallback.class.getName());
        ifc.setSignaturePropFile("rahas/rahas-sec.properties");
        ifc.setEnableSignatureConfirmation(false);

        return ifc;
    }
View Full Code Here

Examples of org.apache.rampart.handler.config.InflowConfiguration

   
    return ofc;
  }

  protected InflowConfiguration getInflowConfiguration() {
    InflowConfiguration ifc = new InflowConfiguration();
   
    ifc.setActionItems("Signature Encrypt Timestamp");
    ifc.setPasswordCallbackClass("org.apache.axis2.security.PWCallback");
    ifc.setSignaturePropFile("interop.properties");
    ifc.setDecryptionPropFile("interop.properties");
   
    return ifc;
  }
View Full Code Here

Examples of org.apache.rampart.handler.config.InflowConfiguration

       
        return ofc;
    }

    protected InflowConfiguration getInflowConfigurationWithRefs() {
        InflowConfiguration ifc = new InflowConfiguration();
       
        ifc.setActionItems("Signature Encrypt Timestamp");
        ifc.setPasswordCallbackClass("org.apache.axis2.security.PWCallback");
        ifc.setSignaturePropRefId("key3");
        ifc.setDecryptionPropRefKey("key4");
       
        return ifc;
    }
View Full Code Here

Examples of org.apache.rampart.handler.config.InflowConfiguration

        ofc.setPasswordCallbackClass(PWCallback.class.getName());
        return ofc;
    }

    public InflowConfiguration getClientInflowConfiguration() {
        InflowConfiguration ifc = new InflowConfiguration();

        ifc.setActionItems("Timestamp");
       
        return ifc;
    }
View Full Code Here

Examples of org.apache.rampart.handler.config.InflowConfiguration

        ofc.setPasswordCallbackClass(PWCallback.class.getName());
        return ofc;
    }

    public InflowConfiguration getClientInflowConfiguration() {
        InflowConfiguration ifc = new InflowConfiguration();

        ifc.setActionItems("Timestamp");
       
        return ifc;
    }
View Full Code Here

Examples of org.apache.rampart.handler.config.InflowConfiguration

        ofc.setPasswordCallbackClass(PWCallback.class.getName());
        return ofc;
    }

    public InflowConfiguration getClientInflowConfiguration() {
        InflowConfiguration ifc = new InflowConfiguration();

        ifc.setActionItems("Signature Encrypt Timestamp");
        ifc.setPasswordCallbackClass(PWCallback.class.getName());
        ifc.setSignaturePropFile("rahas/rahas-sec.properties");
       
        return ifc;
    }
View Full Code Here

Examples of org.apache.rampart.handler.config.InflowConfiguration

                throw new AxisFault(
                        "Inflow configuration must contain an 'action' "
                                + "elements the child of 'InflowSecurity' element");
            }

            InflowConfiguration inflowConfiguration = new InflowConfiguration();
           
            Iterator childElements = actionElem.getChildElements();
            while (childElements.hasNext()) {
                OMElement element = (OMElement) childElements.next();
               
                String localName = element.getLocalName();
                String text = element.getText().trim();
               
                if(localName.equals(WSHandlerConstants.PW_CALLBACK_CLASS)) {
                    inflowConfiguration.setPasswordCallbackClass(text);
                } else if(localName.equals(WSHandlerConstants.SIG_PROP_FILE)) {
                    inflowConfiguration.setSignaturePropFile(text);
                } else if(localName.equals(WSHandlerConstants.DEC_PROP_FILE)) {
                    inflowConfiguration.setDecryptionPropFile(text);
                } else if (WSHandlerConstants.ENABLE_SIGNATURE_CONFIRMATION
                        .equals(localName)) {
                    if ("false".equals(text)
                            || "0".equals(text)) {
                        inflowConfiguration
                                .setEnableSignatureConfirmation(false);
                    }
                }
            }
            return inflowConfiguration;
View Full Code Here

Examples of org.apache.rampart.handler.config.InflowConfiguration

    return ofc;
  }

  protected InflowConfiguration getInflowConfiguration() {
    InflowConfiguration ifc = new InflowConfiguration();
   
    ifc.setActionItems("Signature Encrypt Timestamp");
    ifc.setPasswordCallbackClass("org.apache.axis2.security.PWCallback");
    ifc.setSignaturePropFile("interop.properties");

        /**
         * This test is not "Basic Security Profile(BSP)" compatible. Cos we use
         * KeyInfo/KeyName. Therefore setting this test as not BSP compatible.
         */
        ifc.setBSPCompliant(false);
   
    return ifc;
  }
View Full Code Here

Examples of org.apache.rampart.handler.config.InflowConfiguration

       
        return ofc;
    }

    protected InflowConfiguration getInflowConfigurationWithRefs() {
        InflowConfiguration ifc = new InflowConfiguration();
       
        ifc.setActionItems("Signature Encrypt Timestamp");
        ifc.setPasswordCallbackClass("org.apache.axis2.security.PWCallback");
       
        ifc.setSignaturePropRefId("key2");
        ifc.setBSPCompliant(false);
       
        return ifc;
    }
View Full Code Here

Examples of org.apache.rampart.handler.config.InflowConfiguration

        return ofc;
    }

    public InflowConfiguration getClientInflowConfiguration() {
        InflowConfiguration ifc = new InflowConfiguration();

        ifc.setActionItems("Signature Encrypt Timestamp");
        ifc.setPasswordCallbackClass(PWCallback.class.getName());
        ifc.setSignaturePropFile("rahas/rahas-sec.properties");
        ifc.setEnableSignatureConfirmation(false);

        return ifc;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.