@Override public String toString(){
  final StringBuffer result=new StringBuffer();
  result.append(username);
  result.append(":");
  result.append((password == null) ? "null" : password);
  return result.toString();
}

@ Override public String toString ( ) { final StringBuffer result = new StringBuffer ( ) ; result . append ( username ) ; result . append ( ":" ) ; result . append ( ( password == null ) ? "null" : password ) ; return result . toString ( ) ; }
get this object string .
