}
private static Client recreateClientInternal(String sequence) {
String[] parts = getParts(sequence);
Client c = new Client(parts[0],
parts[1],
Boolean.valueOf(parts[2]),
getStringPart(parts[3]), getStringPart(parts[4]));
c.setApplicationDescription(getStringPart(parts[5]));
c.setApplicationLogoUri(getStringPart(parts[6]));
c.setApplicationCertificates(parseSimpleList(parts[7]));
c.setAllowedGrantTypes(parseSimpleList(parts[8]));
c.setRegisteredScopes(parseSimpleList(parts[9]));
c.setRedirectUris(parseSimpleList(parts[10]));
c.setRegisteredAudiences(parseSimpleList(parts[11]));
c.setProperties(parseSimpleMap(parts[12]));
c.setSubject(recreateUserSubject(parts[13]));
return c;
}