Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 67 for Revoke (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

              isSocket = true,
            )
        }
      }
    
      fun noNewExchangesOnConnection() {
        codec.carrier.noNewExchanges()
      }
    
      fun cancel() {
        codec.cancel()
      }
    
      /**
       * Revoke this exchange's access to streams. This is necessary when a follow-up request is
       * required but the preceding exchange hasn't completed yet.
       */
      fun detachWithViolence() {
        codec.cancel()
        call.messageDone(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/healthinfo").
    			HandlerFunc(adminMiddleware(adminAPI.HealthInfoHandler))
    
    		// STS Revocation
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/revoke-tokens/{userProvider}").HandlerFunc(adminMiddleware(adminAPI.RevokeTokens))
    	}
    
    	// If none of the routes match add default error handler routes
    	adminRouter.NotFoundHandler = httpTraceAll(errorResponseHandler)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  3. cmd/sts-handlers.go

    	ldapUserN      = "ldapUsername"   // this is a key name for the short/login username
    	// Claim key-prefix for LDAP attributes
    	ldapAttribPrefix = "ldapAttrib_"
    
    	// Role Claim key
    	roleArnClaim = "roleArn"
    
    	// STS revoke type claim key
    	tokenRevokeTypeClaim = "tokenRevokeType"
    
    	// maximum supported STS session policy size
    	maxSTSSessionPolicySize = 2048
    )
    
    type stsClaims map[string]any
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.6K bytes
    - Click Count (0)
  4. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, encryptedData)
    }
    
    // RevokeTokens - POST /minio/admin/v3/revoke-tokens/{userProvider}
    func (a adminAPIHandlers) RevokeTokens(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Get current object layer instance.
    	objectAPI := newObjectLayerFn()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
  5. cmd/sts-handlers_test.go

    		c.Fatal("AddUser() for root credential must fail via root STS creds")
    	}
    }
    
    // TestSTSTokenRevoke - tests the token revoke API
    func (s *TestSuiteIAM) TestSTSTokenRevoke(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), 100*testDefaultTimeout)
    	defer cancel()
    
    	bucket := getRandomBucketName()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

            final java.lang.reflect.Method method = CrawlerThread.class.getDeclaredMethod("isValid", UrlQueue.class);
            method.setAccessible(true);
            final boolean result = (boolean) method.invoke(crawlerThread, urlQueue);
    
            assertTrue(result);
        }
    
        /**
         * Test isValid method with a null URL queue.
         */
        public void test_isValid_nullUrlQueue() throws Exception {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

                    createMockModel("com.example", "test-project", "1.0.0"), // rawModel is available
                    null // fileModel is null
                    );
    
            String projectId = (String) extractProjectIdMethod.invoke(null, mockResult);
    
            assertNotNull(projectId, "Project ID should not be null");
            assertEquals(
                    "com.example:test-project:jar:1.0.0",
                    projectId,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java

                throws Exception {
            invoke(cwd, userHome, List.of("verify"), List.of());
        }
    
        @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)")
        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
                invoke(fs.getPath("/cwd"), fs.getPath("/home"), List.of("verify"), List.of());
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 10:47:37 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

                java.lang.reflect.Method method =
                        MultiChannelManager.class.getDeclaredMethod("createChannelTransport", InetAddress.class, InetAddress.class);
                method.setAccessible(true);
                method.invoke(multiChannelManager, null, null);
            });
    
            // Check that the root cause is CIFSException
            assertTrue(exception instanceof java.lang.reflect.InvocationTargetException);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                    public static void main(String... args) {
                        System.out.println("Hello World!");
                    }
                }
                """;
    
        protected Map<String, String> invoke(Path cwd, Path userHome, Collection<String> goals, Collection<String> args)
                throws Exception {
            Files.createDirectories(cwd.resolve(".mvn"));
            Path pom = cwd.resolve("pom.xml").toAbsolutePath();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top