Package com.esri.gpt.framework.security.metadata

Examples of com.esri.gpt.framework.security.metadata.MetadataAccessPolicy


  setIdentityConfiguration(new IdentityConfiguration());
  setCatalogConfiguration(new CatalogConfiguration());
  setMailConfiguration(new MailConfiguration());
  setThreadSchedulerConfiguration(new ThreadSchedulerConfiguration());
  setDownloadDataConfiguration(new DownloadConfiguration());
  setMetadataAccessPolicy(new MetadataAccessPolicy());
}
View Full Code Here


* @throws Exception
*/
private void loadMetadataAccessPolicyConfiguration(
    ApplicationConfiguration appConfig, Node root) throws Exception {
  XPath xpath = XPathFactory.newInstance().newXPath();
  MetadataAccessPolicy aclCfg = appConfig.getMetadataAccessPolicy();
  Node ndPolicy = (Node) xpath.evaluate("catalog/metadataAccessPolicy", root,
      XPathConstants.NODE);
  if (ndPolicy != null) {
    String type = xpath.evaluate("@type", ndPolicy);
    aclCfg.setAccessPolicyType(type);
    String accessToGroupDN = xpath.evaluate("@protectedGroupDN", ndPolicy);
    if (accessToGroupDN != null && accessToGroupDN.trim().length() > 0) {
      aclCfg.setAccessToGroupDN(accessToGroupDN);
    }
  }
}
View Full Code Here

TOP

Related Classes of com.esri.gpt.framework.security.metadata.MetadataAccessPolicy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.