Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for setgroups1 (0.23 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    	r := &authorizationv1.SubjectAccessReview{}
    	if user := attr.GetUser(); user != nil {
    		r.Spec = authorizationv1.SubjectAccessReviewSpec{
    			User:   user.GetName(),
    			UID:    user.GetUID(),
    			Groups: user.GetGroups(),
    			Extra:  convertToSARExtra(user.GetExtra()),
    		}
    	}
    
    	if attr.IsResourceRequest() {
    		r.Spec.ResourceAttributes = &authorizationv1.ResourceAttributes{
    			Namespace:   attr.GetNamespace(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmFeature.java

                return tasks.register(jarTaskName, Jar.class, jar -> {
                    jar.setDescription("Assembles a jar archive containing the classes of the '" + name + "' feature.");
                    jar.setGroup(BasePlugin.BUILD_GROUP);
                    jar.from(sourceSet.getOutput());
                    if (!capabilities.isEmpty()) {
                        jar.getArchiveClassifier().set(TextUtil.camelToKebabCase(name));
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            groupList.addAll(getDefaultGroupList());
            roleList.addAll(getDefaultRoleList());
            processMemberOf(user, groupList, roleList, "https://graph.microsoft.com/v1.0/me/memberOf");
            user.setGroups(groupList.stream().distinct().toArray(n -> new String[n]));
            user.setRoles(roleList.stream().distinct().toArray(n -> new String[n]));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        private MavenProject createMavenProject(String groupId, String artifactId) {
            MavenProject project = new MavenProject();
            project.setGroupId(groupId);
            project.setArtifactId(artifactId);
            return project;
        }
    
        static String stripAnsiCodes(String msg) {
            return msg.replaceAll("\u001b\\[[;\\d]*[ -/]*[@-~]", "");
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/AbstractTask.java

            this.description = description;
        }
    
        @Internal
        @Override
        public String getGroup() {
            return group;
        }
    
        @Override
        public void setGroup(String group) {
            this.group = group;
        }
    
        @Internal
        @Override
        public TaskInputsInternal getInputs() {
            return taskInputs;
        }
    
        @Internal
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainer.java

                        }
                        Object group = actualArgs.get(Task.TASK_GROUP);
                        if (group != null) {
                            task.setGroup(group.toString());
                        }
                        Object action = actualArgs.get(Task.TASK_ACTION);
                        if (action instanceof Action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 09:54:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt

                delegate.description = description
            }
    
            override fun getGroup(): Any {
                onAccess("group")
                return delegate.group
            }
    
            override fun setGroup(group: Any) {
                onAccess("group")
                delegate.group = group
            }
    
            override fun getVersion(): Any {
                onAccess("version")
                return delegate.version
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. pkg/workloadapi/security/authorization.pb.go

    		return x.Scope
    	}
    	return Scope_GLOBAL
    }
    
    func (x *Authorization) GetAction() Action {
    	if x != nil {
    		return x.Action
    	}
    	return Action_ALLOW
    }
    
    func (x *Authorization) GetGroups() []*Group {
    	if x != nil {
    		return x.Groups
    	}
    	return nil
    }
    
    type Group struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go

    		if testCase.ExpectOK {
    			if testCase.ExpectUserName != resp.User.GetName() {
    				t.Errorf("%s: Expected user.name=%v, got %v", k, testCase.ExpectUserName, resp.User.GetName())
    			}
    
    			groups := resp.User.GetGroups()
    			sort.Strings(testCase.ExpectGroups)
    			sort.Strings(groups)
    			if !reflect.DeepEqual(testCase.ExpectGroups, groups) {
    				t.Errorf("%s: Expected user.groups=%v, got %v", k, testCase.ExpectGroups, groups)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 23:23:03 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

            taskFactory.create(_ as TaskIdentity) >> task
    
            when:
            Task added = container.create([name: 'task', group: "some group"])
    
            then:
            added == task
            1 * task.setGroup("some group")
        }
    
        void "creates by Map"() {
            def options = singletonMap("name", "task")
            def task = task("task")
            taskFactory.create(_ as TaskIdentity) >> task
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
Back to top