Class TargetCredentials

java.lang.Object
org.springframework.cloud.dataflow.shell.TargetCredentials

public class TargetCredentials extends Object
Encapsulates the credentials to the Data Flow Server Target, such as username and password. Maybe also, depending on security settings, include a list of roless that are associated with the user account.
Since:
1.0
Author:
Gunnar Hillert
  • Constructor Details

    • TargetCredentials

      public TargetCredentials(String username, String password)
    • TargetCredentials

      public TargetCredentials(boolean usesAccessToken)
  • Method Details

    • getUsername

      public String getUsername()
    • getPassword

      public String getPassword()
    • getDisplayableContents

      public String getDisplayableContents()
    • getRoles

      public List<RoleType> getRoles()
    • setRoles

      public void setRoles(List<String> roles)
    • toString

      public String toString()
      Overrides:
      toString in class Object