Examples of MetadataAccessPolicy


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

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

* @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
Copyright © 2018 www.massapi.com. 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.