@Override public void onClick() { setReturnPageDirtyAndReturn(false); } };
public GeoServerUserGroupService getUserGroupService(String name) { try { return getSecurityManager().loadUserGroupService(name); } catch (IOException e) { throw new RuntimeException(e); } }
public boolean hasRoleStore(String name) { return getRoleService(name).canCreateStore(); }
public boolean hasUserGroupStore(String name) { return getUserGroupService(name).canCreateStore(); }
void goToPage(SecurityNamedServicePanelInfo pageInfo, IModel model) { //instantiate the page try { AbstractSecurityPage editPage = (AbstractSecurityPage) pageInfo .getComponentClass().getConstructor(IModel.class).newInstance(model); editPage.setReturnPage(getPage()); setResponsePage(editPage); } catch (Exception e) { throw new RuntimeException( "Unable to create page for page info: " + pageInfo, e); } }
public AbstractSecurityPage() { add(dialog = new GeoServerDialog("dialog")); }
protected void doReturn() { ((AuthenticationPage) returnPage).updateChainComponents(); super.doReturn(); };
public GeoServerUserGroupService getUserGroupService(String name) { try { return getSecurityManager().loadUserGroupService(name); } catch (IOException e) { throw new RuntimeException(e); } }
public GeoServerRoleStore getRoleStore(String name) throws IOException { return getRoleService(name).createStore(); }
public GeoServerUserGroupStore getUserGroupStore(String name) throws IOException{ return getUserGroupService(name).createStore(); }
void goToPage(SecurityNamedServicePanelInfo pageInfo, IModel model) { //instantiate the page try { AbstractSecurityPage editPage = (AbstractSecurityPage) pageInfo .getComponentClass().getConstructor(IModel.class).newInstance(model); editPage.setReturnPage(getPage()); setResponsePage(editPage); } catch (Exception e) { throw new RuntimeException( "Unable to create page for page info: " + pageInfo, e); } }
public AbstractSecurityPage() { add(dialog = new GeoServerDialog("dialog")); }
protected void doReturn() { ((AuthenticationPage) returnPage).updateChainComponents(); super.doReturn(); };
public GeoServerRoleService getRoleService(String name) { try { return getSecurityManager().loadRoleService(name); } catch (IOException e) { throw new RuntimeException(e); } }
public boolean hasRoleStore(String name) { return getRoleService(name).canCreateStore(); }
public boolean hasUserGroupStore(String name) { return getUserGroupService(name).canCreateStore(); }
@Override public void onClick() { setReturnPageDirtyAndReturn(false); } };
void goToPage(SecurityNamedServicePanelInfo pageInfo, IModel model) { // instantiate the page try { AbstractSecurityPage editPage = (AbstractSecurityPage) pageInfo.getComponentClass() .getConstructor(IModel.class) .newInstance(model); editPage.setReturnPage(getPage()); setResponsePage(editPage); } catch (Exception e) { throw new RuntimeException("Unable to create page for page info: " + pageInfo, e); } }