Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 595 for validate (0.06 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

         * @return HTML response redirecting to the plugin list
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final DeleteForm form) {
            validate(form, messages -> {}, () -> asHtml(path_AdminPlugin_AdminPluginJsp));
            verifyToken(() -> asHtml(path_AdminPlugin_AdminPluginJsp));
            final Artifact artifact = new Artifact(form.name, form.version, null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils_test.go

    	if len(policies) == 0 {
    		t.Fatal("no policies found")
    	}
    
    	if policies[0] != "consoleAdmin" {
    		t.Fatalf("expected 'consoleAdmin', %s", policies[0])
    	}
    }
    
    // TestSkipContentSha256Cksum - Test validate the logic which decides whether
    // to skip checksum validation based on the request header.
    func TestSkipContentSha256Cksum(t *testing.T) {
    	testCases := []struct {
    		inputHeaderKey   string
    		inputHeaderValue string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Java HTTP Client.
     *
     * https://openjdk.java.net/groups/net/httpclient/intro.html
     *
     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class JavaHttpClientTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      @StartStop
      private val server = MockWebServer()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. go.mod

    	github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
    	github.com/eapache/queue v1.1.0 // indirect
    	github.com/envoyproxy/go-control-plane/envoy v1.32.4 // indirect
    	github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
    	github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
    	github.com/fatih/structs v1.1.0 // indirect
    	github.com/felixge/httpsnoop v1.0.4 // indirect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/CredentialsInternalTest.java

            }
    
            @Override
            public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning)
                    throws SmbException {
                // Validate required argument and interact with the provided CIFSContext
                if (tc == null) {
                    throw new NullPointerException("tc");
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacLogonInfoTest.java

        void testPacUnicodeStringCheckWithValidPointer() throws Exception {
            // When pointer is non-zero, validate string length
            String testString = "TEST";
            short length = (short) (testString.length() * 2); // Unicode length
            PacUnicodeString unicodeString = new PacUnicodeString(length, length, 100);
    
            // Should validate string length
            String result = unicodeString.check(testString);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         * @return HTML response redirecting to the storage list after upload
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final ItemForm form) {
            validate(form, messages -> {}, () -> asListHtml(form.path));
            if (form.uploadFile == null) {
                throwValidationError(messages -> messages.addErrorsStorageNoUploadFile(GLOBAL), () -> asListHtml(form.path));
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  8. cmd/signature-v2_test.go

    			if errCode != testCase.expected {
    				t.Errorf("(%d) expected to get success, instead got %s", i, niceError(errCode))
    			}
    		}
    	}
    }
    
    // TestValidateV2AuthHeader - Tests validate the logic of V2 Authorization header validator.
    func TestValidateV2AuthHeader(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Validate Negotiate Info response data structure. This structure contains the server's
     * validation of the originally negotiated SMB2 dialect.
     *
     * @author mbechler
     *
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

            }
            return redirect(getClass());
        }
    
        private void validatePasswordForm(final ProfileForm form, final VaErrorHook validationErrorLambda) {
            validate(form, messages -> {}, validationErrorLambda);
    
            if (!form.newPassword.equals(form.confirmNewPassword)) {
                form.newPassword = null;
                form.confirmNewPassword = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top