Codota Logo
SecureCatalogImpl.getFeatureTypes
Code IndexAdd Codota to your IDE (free)

How to use
getFeatureTypes
method
in
org.geoserver.security.SecureCatalogImpl

Best Java code snippets using org.geoserver.security.SecureCatalogImpl.getFeatureTypes (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: geoserver/geoserver

public List<FeatureTypeInfo> getFeatureTypes() {
  return catalog.getFeatureTypes();
}
origin: org.geoserver.security/gs-security-tests

@Test
public void testWideOpen() throws Exception {
  buildManager("wideOpen.properties");
  // use no user at all
  SecurityContextHolder.getContext().setAuthentication(anonymous);
  assertSame(states, sc.getFeatureTypeByName("topp:states"));
  assertSame(arcGrid, sc.getCoverageByName("nurc:arcgrid"));
  assertSame(states, sc.getResourceByName("topp:states", FeatureTypeInfo.class));
  assertSame(arcGrid, sc.getResourceByName("nurc:arcgrid", CoverageInfo.class));
  assertSame(cascaded, sc.getResourceByName("topp:cascaded", WMSLayerInfo.class));
  assertSame(cascadedWmts, sc.getResourceByName("topp:cascadedWmts", WMTSLayerInfo.class));
  assertEquals(toppWs, sc.getWorkspaceByName("topp"));
  assertSame(statesStore, sc.getDataStoreByName("states"));
  assertSame(roadsStore, sc.getDataStoreByName("roads"));
  assertSame(arcGridStore, sc.getCoverageStoreByName("arcGrid"));
  assertThatBoth(
      sc.getFeatureTypes(),
      sc.list(FeatureTypeInfo.class, Predicates.acceptAll()),
      equalTo(featureTypes));
  assertThatBoth(
      sc.getCoverages(),
      sc.list(CoverageInfo.class, Predicates.acceptAll()),
      equalTo(coverages));
  assertThatBoth(
      sc.getWorkspaces(),
      sc.list(WorkspaceInfo.class, Predicates.acceptAll()),
      equalTo(workspaces));
}
origin: org.geoserver.security/gs-security-tests

    sc.getFeatureTypes(),
    sc.list(FeatureTypeInfo.class, Predicates.acceptAll()),
    allOf(
assertSame(states, sc.getResourceByName("topp:states", FeatureTypeInfo.class));
assertSame(arcGrid, sc.getResourceByName("nurc:arcgrid", CoverageInfo.class));
assertEquals(featureTypes, sc.getFeatureTypes());
assertEquals(coverages, sc.getCoverages());
assertEquals(workspaces, sc.getWorkspaces());
origin: org.geoserver.security/gs-security-tests

sc.getFeatureTypes(),
sc.list(FeatureTypeInfo.class, Predicates.acceptAll()),
empty());
sc.getFeatureTypes(),
sc.list(FeatureTypeInfo.class, Predicates.acceptAll()),
equalTo(featureTypes));
origin: org.geoserver.security/gs-security-tests

sc.getFeatureTypes(),
sc.list(FeatureTypeInfo.class, Predicates.acceptAll()),
allOf(
sc.getFeatureTypes(),
sc.list(FeatureTypeInfo.class, Predicates.acceptAll()),
equalTo(featureTypes));
origin: org.geoserver.security/gs-security-tests

sc.getFeatureTypes(),
sc.list(FeatureTypeInfo.class, Predicates.acceptAll()),
empty());
sc.getFeatureTypes(),
sc.list(FeatureTypeInfo.class, Predicates.acceptAll()),
equalTo(featureTypes));
org.geoserver.securitySecureCatalogImplgetFeatureTypes

Popular methods of SecureCatalogImpl

  • unwrap
  • getCoverageByName
  • getCoverageStoreByName
  • getCoverages
  • getDataStoreByName
  • getFeatureTypeByName
  • getLayerByName
  • getLayerGroupByName
  • getLayerGroups
  • getLayers
  • getResourceByName
  • getStyles
  • getResourceByName,
  • getStyles,
  • getWorkspaceByName,
  • getWorkspaces,
  • list,
  • <init>,
  • buildDefaultResourceAccessManager,
  • buildWrapperPolicy,
  • checkAccess

Popular in Java

  • Creating JSON documents from java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • addToBackStack (FragmentTransaction)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • JButton (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now