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

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

Best Java code snippets using org.geoserver.security.SecureCatalogImpl.getWorkspaces (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<WorkspaceInfo> getWorkspaces() {
  return catalog.getWorkspaces();
}
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

    equalTo(coverages));
assertThatBoth(
    sc.getWorkspaces(),
    sc.list(WorkspaceInfo.class, Predicates.acceptAll()),
    equalTo(workspaces));
assertEquals(featureTypes, sc.getFeatureTypes());
assertEquals(coverages, sc.getCoverages());
assertEquals(workspaces, sc.getWorkspaces());
assertEquals(toppWs, sc.getWorkspaceByName("topp"));
assertSame(statesStore, sc.getDataStoreByName("states"));
origin: org.geoserver.security/gs-security-tests

    sc.getCoverages(), sc.list(CoverageInfo.class, Predicates.acceptAll()), empty());
assertThatBoth(
    sc.getWorkspaces(), sc.list(WorkspaceInfo.class, Predicates.acceptAll()), empty());
    equalTo(coverages));
assertThatBoth(
    sc.getWorkspaces(),
    sc.list(WorkspaceInfo.class, Predicates.acceptAll()),
    equalTo(workspaces));
origin: org.geoserver.security/gs-security-tests

    sc.getWorkspaces(),
    sc.list(WorkspaceInfo.class, Predicates.acceptAll()),
    equalTo(workspaces));
    equalTo(coverages));
assertThatBoth(
    sc.getWorkspaces(),
    sc.list(WorkspaceInfo.class, Predicates.acceptAll()),
    equalTo(workspaces));
origin: org.geoserver.security/gs-security-tests

    sc.getCoverages(), sc.list(CoverageInfo.class, Predicates.acceptAll()), empty());
assertThatBoth(
    sc.getWorkspaces(), sc.list(WorkspaceInfo.class, Predicates.acceptAll()), empty());
    equalTo(coverages));
assertThatBoth(
    sc.getWorkspaces(),
    sc.list(WorkspaceInfo.class, Predicates.acceptAll()),
    equalTo(workspaces));
org.geoserver.securitySecureCatalogImplgetWorkspaces

Popular methods of SecureCatalogImpl

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

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
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