public String getPasswordEncoderName() { return service.getPasswordEncoderName(); }
@Override public String getPasswordEncoderName() { return delegate.getPasswordEncoderName(); }
/** NO_LOCK */ @Override public String getPasswordEncoderName() { return getService().getPasswordEncoderName(); }
/** * @see org.geoserver.security.GeoServerUserGroupStore#initializeFromServer(org.geoserver.security.GeoServerUserGroupService) */ public void initializeFromService(GeoServerUserGroupService service) throws IOException { jdbcService= (JDBCUserGroupService) service; setSecurityManager(service.getSecurityManager()); this.name=jdbcService.getName(); this.passwordEncoderName=service.getPasswordEncoderName(); this.passwordValidatorName=service.getPasswordValidatorName(); this.datasource=jdbcService.datasource; this.ddlProps=jdbcService.ddlProps; this.dmlProps=jdbcService.dmlProps; try { getConnection().commit(); } catch (SQLException e) { throw new IOException(); } }
GeoServerUserGroupService ugService = manager.loadUserGroupService(XMLUserGroupService.DEFAULT_NAME); if (ugService != null) { passwordEncoderName = ugService.getPasswordEncoderName(); GeoServerUser user = ugService.getUserByUsername(ADMIN_USERNAME); if (user != null) {
GeoServerUserGroupService ugService = manager.loadUserGroupService(XMLUserGroupService.DEFAULT_NAME); if (ugService != null) { passwordEncoderName = ugService.getPasswordEncoderName(); GeoServerUser user = ugService.getUserByUsername(ADMIN_USERNAME); if (user != null) {
manager.loadUserGroupService(XMLUserGroupService.DEFAULT_NAME); if (ugService != null) { passwordEncoderName = ugService.getPasswordEncoderName(); GeoServerUser user = ugService.getUserByUsername(ADMIN_USERNAME); if (user != null) {
boolean emptyPasswd = getSecurityManager().loadPasswordEncoder(ugService.getPasswordEncoderName()) instanceof GeoServerEmptyPasswordEncoder; boolean hasUserGroupStore = ugService.canCreateStore();
boolean emptyPasswd = getSecurityManager().loadPasswordEncoder(ugService.getPasswordEncoderName()) instanceof GeoServerEmptyPasswordEncoder; boolean hasUserGroupStore = ugService.canCreateStore();
getSecurityManager().loadPasswordEncoder(ugService.getPasswordEncoderName()) instanceof GeoServerEmptyPasswordEncoder; boolean hasUserGroupStore = ugService.canCreateStore();