Package org.cloudfoundry.client.lib

Examples of org.cloudfoundry.client.lib.CloudCredentials.proxyForUser()


  @Override
  public void updatePassword(CloudCredentials credentials, String newPassword) {
    oauthClient.changePassword(credentials.getPassword(), newPassword);
    CloudCredentials newCloudCredentials = new CloudCredentials(credentials.getEmail(), newPassword);
    if (cloudCredentials.getProxyUser() != null) {
      cloudCredentials = newCloudCredentials.proxyForUser(cloudCredentials.getProxyUser());
    } else {
      cloudCredentials = newCloudCredentials;
    }
  }
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.