use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class STSEditViewBeanBase method createPropertyModel.
protected void createPropertyModel() {
String xmlFileName;
if (stsType.isRestSTS()) {
xmlFileName = REST_PROPERTY_MODEL_DEFINITION_FILE;
} else {
xmlFileName = SOAP_PROPERTY_MODEL_DEFINITION_FILE;
}
String xml = AMAdminUtils.getStringFromInputStream(getClass().getClassLoader().getResourceAsStream(xmlFileName));
propertySheetModel = new AMPropertySheetModel(xml);
propertySheetModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class WSAuthNServicesHandlersEditViewBean method createPropertyModel.
protected void createPropertyModel() {
DelegationConfig dConfig = DelegationConfig.getInstance();
boolean canModify = dConfig.hasPermission("/", null, AMAdminConstants.PERMISSION_MODIFY, getRequestContext().getRequest(), getClass().getName());
String xmlFile = (canModify) ? "com/sun/identity/console/propertyWSAuthNServicesHandlers.xml" : "com/sun/identity/console/propertyWSAuthNServicesHandlers_Readonly.xml";
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream(xmlFile));
propertySheetModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class WSPPServiceDSAttributeMapListViewBeanBase method createPropertyModel.
protected void createPropertyModel() {
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertyWSPersonalProfileDSAttributeMapList.xml"));
propertySheetModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class G11NSupportedCharsetsViewBeanBase method createPropertyModel.
protected void createPropertyModel() {
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertyG11NSupportedCharsets.xml"));
propertySheetModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class SMDiscoveryProviderResourceIdMapperEditViewBean method createPropertyModel.
protected void createPropertyModel() {
DelegationConfig dConfig = DelegationConfig.getInstance();
boolean canModify = dConfig.hasPermission("/", null, AMAdminConstants.PERMISSION_MODIFY, getRequestContext().getRequest(), getClass().getName());
String xmlFile = (canModify) ? "com/sun/identity/console/propertySMDiscoveryProviderResourceIdMapper.xml" : "com/sun/identity/console/propertySMDiscoveryProviderResourceIdMapper_Readonly.xml";
propertySheetModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream(xmlFile));
propertySheetModel.clear();
}
Aggregations