public static String toRealmQualifiedAuthnData(String realm,String data){
  String realmQualifedData=data;
  if (realm != null && realm.length() != 0) {
    realmQualifedData=realm.trim() + ISAuthConstants.COLON + data.trim();
  }
  return realmQualifedData;
}

public static String toRealmQualifiedAuthnData ( String realm , String data ) { String realmQualifedData = data ; if ( realm != null && realm . length ( ) != 0 ) { realmQualifedData = realm . trim ( ) + ISAuthConstants . COLON + data . trim ( ) ; } return realmQualifedData ; }
returns the given data in realm qualified format .
