Tabnine Logo
GeoServerUserGroupService.load
Code IndexAdd Tabnine to your IDE (free)

How to use
load
method
in
org.geoserver.security.GeoServerUserGroupService

Best Java code snippets using org.geoserver.security.GeoServerUserGroupService.load (Showing top 8 results out of 315)

origin: geoserver/geoserver

@Override
public void load() throws IOException {
  delegate.load();
}
origin: geoserver/geoserver

public void load() throws IOException {
  service.load();
}
origin: geoserver/geoserver

/** triggers a load on {@link #service} */
@Override
protected void doOnChange() {
  GeoServerUserGroupService theService = getService();
  try {
    if (theService != null) theService.load();
  } catch (IOException e) {
    throw new RuntimeException(e);
  }
}
origin: geoserver/geoserver

/**
 * WRITE_LOCK
 *
 * @see org.geoserver.security.GeoServerUserGroupService#load()
 */
public void load() throws IOException {
  writeLock();
  try {
    getService().load();
  } finally {
    writeUnLock();
  }
}
origin: org.geoserver/gs-restconfig

ugService.load();
origin: org.geoserver/gs-restconfig

public void resetUserPassword() throws IOException, PasswordPolicyException {
  GeoServerUserGroupService service =
      getSecurityManager().loadUserGroupService(XMLUserGroupService.DEFAULT_NAME);
  GeoServerUser user = service.getUserByUsername(USERNAME);
  user.setPassword(USERPW);
  GeoServerUserGroupStore store = service.createStore();
  store.updateUser(user);
  store.store();
  service.load();
}
origin: org.geoserver/gs-restconfig

service.load();
user = service.getUserByUsername(USERNAME);
String pw1 = user.getPassword();
service.load();
user = service.getUserByUsername(USERNAME);
String pw2 = user.getPassword();
origin: org.geoserver/gs-restconfig

@Override
protected void onSetUp(SystemTestData testData) throws Exception {
  super.onSetUp(testData);
  // Create the test restuser if needed
  GeoServerUserGroupService service =
      getSecurityManager().loadUserGroupService(XMLUserGroupService.DEFAULT_NAME);
  if (service.getUserByUsername(USERNAME) == null) {
    GeoServerUser user = service.createUserObject(USERNAME, USERPW, true);
    GeoServerUserGroupStore store = service.createStore();
    store.addUser(user);
    store.store();
    service.load();
  }
  xp = XMLUnit.newXpathEngine();
}
org.geoserver.securityGeoServerUserGroupServiceload

Javadoc

load from backendstore. On success, a UserGroupLoadedEvent should be triggered

Popular methods of GeoServerUserGroupService

  • createStore
  • getUserByUsername
  • getGroupsForUser
  • getUsers
  • canCreateStore
  • getGroupByGroupname
  • getName
  • getUserGroups
  • getUsersForGroup
  • createUserObject
  • getGroupCount
  • getPasswordEncoderName
  • getGroupCount,
  • getPasswordEncoderName,
  • getSecurityManager,
  • loadUserByUsername,
  • getUserCount,
  • getUserCountHavingProperty,
  • getUserCountHavingPropertyValue,
  • getUserCountNotHavingProperty,
  • getUsersHavingProperty,
  • getUsersHavingPropertyValue

Popular in Java

  • Start an intent from android
  • putExtra (Intent)
  • getApplicationContext (Context)
  • setContentView (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • BoxLayout (javax.swing)
  • Top PhpStorm plugins
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