public String getProfilePea(URI clusterId, String profileName) {
return client.get(String.class, CAS_PROFILE_PEA_URL, clusterId, profileName);
}
public List<CasRegisteredApplication> getRegisteredApplications(URI clusterId) {
CasRegisteredApplicationListRep list = client.get(CasRegisteredApplicationListRep.class, CAS_APPLICATIONS_URL,
clusterId);
return ResourceUtils.defaultList(list != null ? list.getCasRegisteredApplications() : null);
}