Tabnine Logo
DataAccessRule.getValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getValue
method
in
org.geoserver.security.impl.DataAccessRule

Best Java code snippets using org.geoserver.security.impl.DataAccessRule.getValue (Showing top 3 results out of 315)

origin: geoserver/geoserver

  @Override
  public String toString() {
    return getKey() + "=" + getValue();
  }
}
origin: geoserver/geoserver

/** Turns the rules list into a property bag */
protected Properties toProperties() {
  Properties props = new Properties();
  props.put("mode", catalogMode.toString());
  for (DataAccessRule rule : rules) {
    StringBuilder sbKey = new StringBuilder(rule.getRoot().replaceAll("\\.", "\\\\."));
    if (!rule.isGlobalGroupRule()) {
      sbKey.append(".").append(rule.getLayer().replaceAll("\\.", "\\\\."));
    }
    sbKey.append(".").append(rule.getAccessMode().getAlias());
    props.put(sbKey.toString(), rule.getValue());
  }
  return props;
}
origin: org.geoserver/gs-restconfig

@Override
protected void addRuleToMap(Comparable rule, Map map) {
  DataAccessRule ruleObject = (DataAccessRule) rule;
  map.put(ruleObject.getKey(), ruleObject.getValue());
}
org.geoserver.security.implDataAccessRulegetValue

Javadoc

Returns the list of roles as a comma separated string for this rule

Popular methods of DataAccessRule

  • <init>
  • getRoles
  • getAccessMode
  • getKey
  • getLayer
  • setAccessMode
  • setLayer
  • getRoot
  • isGlobalGroupRule
  • setRoot
  • compareTo
  • equals
  • compareTo,
  • equals,
  • getWorkspace,
  • setWorkspace,
  • compareCatalogItems,
  • hashCode,
  • setGlobalGroupRule

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSupportFragmentManager (FragmentActivity)
  • setRequestProperty (URLConnection)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Reference (javax.naming)
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JLabel (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Join (org.hibernate.mapping)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now