Package org.reficio.ws.client.core.SoapConstants

Examples of org.reficio.ws.client.core.SoapConstants.AuthMethod


        }
    }

    private void configureAuthentication(Security.Builder builder) {
        if(authMethod != null) {
            AuthMethod method = AuthMethod.valueOf(authMethod);
            if(method.equals(AuthMethod.BASIC)) {
                builder.authBasic(authUsername, authPassword);
            } else if(method.equals(AuthMethod.DIGEST)) {
                builder.authDigest(authUsername, authPassword);
            } else if(method.equals(AuthMethod.NTLM)) {
                builder.authNtlm(authUsername, authPassword, authWorkstation, authDomain);
            } else if(method.equals(AuthMethod.SPNEGO)) {
                builder.authSpnego();
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.reficio.ws.client.core.SoapConstants.AuthMethod

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.