public boolean updatePap(Pap pap) throws RemoteException {
log.info("updateTrustedPAP(" + pap.getAlias() + "," + pap + ");");
try {
if (Pap.DEFAULT_PAP_ALIAS.equals(pap.getAlias())) {
throw new PapManagerException(String.format("Invalid request. \"%s\" cannot be updated",
Pap.DEFAULT_PAP_ALIAS));
}
return UpdatePapOperation.instance(pap).execute();