/** * Convenience method for pages to get access to the geoserver * configuration. */ protected GeoServer getGeoServer() { return getGeoServerApplication().getGeoServer(); }
/** * Convenience method for pages to get access to the catalog. */ protected Catalog getCatalog() { return getGeoServerApplication().getCatalog(); }
/** Convenience method for pages to get access to the catalog. */ protected Catalog getCatalog() { return getGeoServerApplication().getCatalog(); }
/** Convenience method for pages to get access to the geoserver configuration. */ protected GeoServer getGeoServer() { return getGeoServerApplication().getGeoServer(); }
getGeoServerApplication().getBeansOfType(HeaderContribution.class); for (HeaderContribution csscontrib : cssContribs) { try { filterByAuth(getGeoServerApplication().getBeansOfType(MenuPageInfo.class)) );
@Override public void renderHead(IHeaderResponse response) { // includes jquery, required by the placeholder plugin (wicket only include jquery if he // need it) response.render( new PriorityHeaderItem( JavaScriptHeaderItem.forReference( getApplication() .getJavaScriptLibrarySettings() .getJQueryReference()))); List<HeaderContribution> cssContribs = getGeoServerApplication().getBeansOfType(HeaderContribution.class); for (HeaderContribution csscontrib : cssContribs) { try { if (csscontrib.appliesTo(this)) { PackageResourceReference ref = csscontrib.getCSS(); if (ref != null) { response.render(CssReferenceHeaderItem.forReference(ref)); } ref = csscontrib.getJavaScript(); if (ref != null) { response.render(JavaScriptHeaderItem.forReference(ref)); } ref = csscontrib.getFavicon(); } } catch (Throwable t) { LOGGER.log(Level.WARNING, "Problem adding header contribution", t); } } }
getGeoServerApplication().getBeansOfType(HeaderContribution.class); for (HeaderContribution csscontrib : cssContribs) { try { getGeoServerApplication() .getSecurityManager() .getSecurityConfig() filterByAuth(getGeoServerApplication().getBeansOfType(LoginFormInfo.class)); filterByAuth(getGeoServerApplication().getBeansOfType(LogoutFormInfo.class)); filterByAuth(getGeoServerApplication().getBeansOfType(MenuPageInfo.class)));
getGeoServerApplication() .getBeansOfType(GeoServerSecurityProvider.class); for (GeoServerSecurityProvider securityProvider : securityProviders) {