Package io.fathom.cloud.openstack.client.identity.model.V2AuthRequest

Examples of io.fathom.cloud.openstack.client.identity.model.V2AuthRequest.PasswordCredentials


    public static AuthTokenProvider build(OpenstackIdentityClient identityClient, String tenant, String username,
            String password) {
        V2AuthRequest request = new V2AuthRequest();
        request.auth = new V2AuthRequest.V2AuthCredentials();
        request.auth.tenantName = tenant;
        request.auth.passwordCredentials = new PasswordCredentials();
        request.auth.passwordCredentials.username = username;
        request.auth.passwordCredentials.password = password;

        return new AuthTokenProvider(identityClient, request);
    }
View Full Code Here

TOP

Related Classes of io.fathom.cloud.openstack.client.identity.model.V2AuthRequest.PasswordCredentials

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.