RestUserInfo.java

  1. package com.capitalone.dashboard.client;

  2. public class RestUserInfo {
  3.     private String userId;
  4.     private String passCode;

  5.     public RestUserInfo(String userId, String passCode) {
  6.         this.userId = userId;
  7.         this.passCode = passCode;
  8.     }

  9.     public String getFormattedString() {
  10.         return userId.trim() + ":" + passCode.trim();
  11.     }
  12. }