use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class SMDiscoveryDescriptionViewBeanBase method createPropertyModel.
protected void createPropertyModel() {
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertySMDiscoveryDescription.xml"));
propertySheetModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class GenericAgentProfileViewBean method createPropertySheetModel.
protected AMPropertySheetModel createPropertySheetModel(String type) {
String agentType = getAgentType();
AgentsModel model = (AgentsModel) getModel();
String tabName = (String) getPageSessionAttribute(PS_TABNAME);
String choice = (String) getPageSessionAttribute(AgentsViewBean.LOCAL_OR_NOT);
AgentPropertyXMLBuilder blder = null;
try {
if (isLocalConfig(agentType)) {
blder = new AgentPropertyXMLBuilder(agentType, isGroup, true, tabName, model);
} else {
blder = new AgentPropertyXMLBuilder(agentType, isGroup, is2dot2Agent() || isAgentAuthenticator(), tabName, model);
}
attributeSchemas = blder.getAttributeSchemas();
return new AMPropertySheetModel(blder.getXML(inheritedPropertyNames, choice));
} catch (AMConsoleException e) {
setInlineAlertMessage(CCAlert.TYPE_ERROR, "message.error", e.getMessage());
} catch (SMSException e) {
setInlineAlertMessage(CCAlert.TYPE_ERROR, "message.error", e.getMessage());
} catch (SSOException e) {
setInlineAlertMessage(CCAlert.TYPE_ERROR, "message.error", e.getMessage());
}
return null;
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class NewAuthConfigViewBean method createPropertyModel.
private void createPropertyModel() {
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertyNewAuthConfig.xml"));
propertySheetModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class NewAuthInstanceViewBean method createPropertyModel.
private void createPropertyModel() {
AuthPropertiesModel model = (AuthPropertiesModel) getModel();
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertyNewAuthInstance.xml"));
propertySheetModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class IDFFIDPViewBean method createPropertyModel.
protected void createPropertyModel() {
retrieveCommonProperties();
if (isHosted()) {
psModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertyIDFFIDPHosted.xml"));
createAuthContextsModel();
psModel.setModel(TBL_AUTHENTICATION_CONTEXTS, tblAuthContextsModel);
} else {
psModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertyIDFFIDPRemote.xml"));
}
psModel.clear();
}
Aggregations