Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for setgroups1 (0.19 sec)

  1. src/main/java/org/codelibs/fess/app/service/GroupService.java

                op.setRefreshPolicy(Constants.TRUE);
            });
    
            userBhv.selectCursor(cb -> cb.query().setGroups_Equal(group.getId()), entity -> {
                entity.setGroups(
                        stream(entity.getGroups()).get(stream -> stream.filter(s -> !s.equals(group.getId())).toArray(n -> new String[n])));
                userBhv.insertOrUpdate(entity);
            });
    
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

            super();
        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenNotFound() throws Exception {
            final Parent parent = new Parent();
            parent.setGroupId("org.apache");
            parent.setArtifactId("apache");
            parent.setVersion("0");
    
            UnresolvableModelException e = assertThrows(
                    UnresolvableModelException.class,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            /*
            Dependency dep1 = new Dependency();
            dep1.setGroupId( "test" );
            dep1.setArtifactId( "test-artifact" );
            dep1.setVersion( "1" );
            dep1.setType( "jar" );
    
            Exclusion exc = new Exclusion();
            exc.setGroupId( "test" );
            exc.setArtifactId( "test-artifact3" );
    
            dep1.addExclusion( exc );
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/os/proc.go

    func Getegid() int { return syscall.Getegid() }
    
    // Getgroups returns a list of the numeric ids of groups that the caller belongs to.
    //
    // On Windows, it returns [syscall.EWINDOWS]. See the [os/user] package
    // for a possible alternative.
    func Getgroups() ([]int, error) {
    	gids, e := syscall.Getgroups()
    	return gids, NewSyscallError("getgroups", e)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/AggregateMultiProjectTaskReportModel.java

        public void build() {
            groups = TreeMultimap.create(String::compareToIgnoreCase, Comparator.comparing(TaskDetails::getPath));
            for (TaskReportModel project : projects) {
                for (String group : project.getGroups()) {
                    if (isVisible(group)) {
                        for (final TaskDetails task : project.getTasksForGroup(group)) {
                            groups.put(group, mergeTasksWithSameName ? mergedTaskDetails(task) : task);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go

    		Type:    "RemoveGroupVersion",
    		Group:   gv.Group,
    		Version: gv.Version,
    	})
    
    }
    func (f *recorderResourceManager) SetGroups(values []apidiscoveryv2.APIGroupDiscovery) {
    	f.lock.Lock()
    	defer f.lock.Unlock()
    
    	f.Actions = append(f.Actions, recorderResourceManagerAction{
    		Type:  "SetGroups",
    		Value: values,
    	})
    }
    func (f *recorderResourceManager) WebService() *restful.WebService {
    	panic("unimplemented")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get(NAME)));
                result.setPassword(DfTypeUtil.toString(source.get(PASSWORD)));
                result.setGroups(toStringArray(source.get(GROUPS)));
                result.setRoles(toStringArray(source.get(ROLES)));
                result.setAttributes(source.entrySet().stream().filter(e -> isAttribute(e.getKey()))
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go

    })(nil)
    
    // The user info accessors known to cache key construction. If this fails to compile, the cache
    // implementation may need to be updated.
    var _ user.Info = (interface {
    	GetName() string
    	GetUID() string
    	GetGroups() []string
    	GetExtra() map[string][]string
    })(nil)
    
    // Authorize returns an authorization decision by delegating to another Authorizer. If an equivalent
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/exentity/User.java

        public String[] getRoleNames() {
            return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        private String decode(final String value) {
            return new String(Base64.getDecoder().decode(value), Constants.CHARSET_UTF_8);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                permissions = null;
                return true;
            }
    
            public AuthenticationResult getAuthenticationResult() {
                return authResult;
            }
    
            public void setGroups(final String[] groups) {
                this.groups = groups;
            }
    
            public void setRoles(final String[] roles) {
                this.roles = roles;
            }
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top