.appendUnorderedList(lst, "alt");
}
}
catch (Exception ex)
{
DynamicMessageControl xMsgAuthent = (DynamicMessageControl) pc.getControl("xMsgAuthent");
xMsgAuthent.setMessage(ex.getMessage());
xMsgAuthent.setType(MessageTypes.Error);
xMsgAuthent.setVisible(true);
}
try
{
if (getWorkspace().isValidUserSession())
{
// Obtiene el agente de autenticaci�n
Authorization autho = AuthorizationFactory.getInstance(getWorkspace());
lst = new ArrayList<String>();
lst.add("Classe: //" + autho.getClass().getName() + "//");
for (Entry<String, String> entry : autho.getParameters().entrySet())
{
lst.add(entry.getKey() + ": '''" + entry.getValue() + "'''");
}
XhtmlControl xAutho = (XhtmlControl) pc.getControl("xAutho");
xAutho.clear();
xAutho.appendHeadder(Icon.render(Icon.ICON_IMAGE_COG) + " Agent d'autoritzaci�", 4)
.appendParagraph("La seg�ent informaci� fa refer�ncia a l'agent d'autoritzaci� configurat actualment:")
.appendUnorderedList(lst, "alt");
}
}
catch (Exception ex)
{
DynamicMessageControl xMsgAutho = (DynamicMessageControl) pc.getControl("xMsgAutho");
xMsgAutho.setMessage(ex.getMessage());
xMsgAutho.setType(MessageTypes.Error);
xMsgAutho.setVisible(true);
}
return pc;
}