use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class AuthPropertiesViewBean method createPropertyModel.
private void createPropertyModel(String realmName) {
DelegationConfig dConfig = DelegationConfig.getInstance();
boolean canModify = dConfig.hasPermission(realmName, null, AMAdminConstants.PERMISSION_MODIFY, getModel(), getClass().getName());
String xmlFile = (canModify) ? "com/sun/identity/console/propertyRealmAuth.xml" : "com/sun/identity/console/propertyRealmAuth_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 SAMLv2AuthnAuthorityViewBean method createPropertyModel.
protected void createPropertyModel() {
retrieveCommonProperties();
psModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertySAMLv2AuthnAuthority.xml"));
psModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class SAMLv2IDPAdvancedViewBean method createPropertyModel.
protected void createPropertyModel() {
retrieveCommonProperties();
if (isHosted()) {
psModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertySAMLv2IDPAdvancedHosted.xml"));
} else {
psModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertySAMLv2IDPAdvancedRemote.xml"));
}
psModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class ImportEntityViewBean method createPropertyModel.
private void createPropertyModel() {
psModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/importEntityPropertySheet.xml"));
psModel.clear();
}
use of com.sun.identity.console.base.model.AMPropertySheetModel in project OpenAM by OpenRock.
the class SAMLv2IDPAssertionProcessingViewBean method createPropertyModel.
protected void createPropertyModel() {
retrieveCommonProperties();
if (isHosted()) {
psModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertySAMLv2IDPAssertionProcessingHosted.xml"));
} else {
psModel = new AMPropertySheetModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/propertySAMLv2IDPAssertionProcessingRemote.xml"));
}
psModel.clear();
}
Aggregations