Package com.talend.examples.secure_greeter

Examples of com.talend.examples.secure_greeter.SecureGreeterService


        System.out.println();
    }

    public SecureGreeterPortType getUTGreeter() {
        if (utGreeter == null) {
            SecureGreeterService service = new SecureGreeterService(wsdl, SERVICE_NAME);
            utGreeter = service.getPort(UT_PORT_NAME, SecureGreeterPortType.class);

            ((BindingProvider)utGreeter).getRequestContext()
                .put("ws-security.username", "abcd");
            ((BindingProvider)utGreeter).getRequestContext()
                .put("ws-security.callback-handler",
View Full Code Here


        return utGreeter;
    }
   
    public SecureGreeterPortType getSAMLGreeter() {
        if (samlGreeter == null) {
            SecureGreeterService service = new SecureGreeterService(wsdl, SERVICE_NAME);
            samlGreeter = service.getPort(SAML_PORT_NAME, SecureGreeterPortType.class);

            ((BindingProvider)samlGreeter).getRequestContext()
                .put("ws-security.signature.username", "alice");
            ((BindingProvider)samlGreeter).getRequestContext()
                .put("ws-security.encryption.username", "bob");
View Full Code Here

TOP

Related Classes of com.talend.examples.secure_greeter.SecureGreeterService

Copyright © 2018 www.massapicom. 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.