Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for getDoc (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse createnew(final CreateForm form) {
            saveToken();
            form.initialize();
            form.crudMode = CrudMode.CREATE;
            getDoc(form).ifPresent(entity -> {
                form.doc = fessConfig.convertToEditableDoc(entity);
            });
            return asEditHtml();
        }
    
        /**
         * Displays the form for editing an existing document.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  2. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

                KerberosPacAuthData authData = new KerberosPacAuthData(pacData, keys);
                assertNotNull(authData.getPac());
                assertNotNull(authData.getPac().getLogonInfo());
                assertNotNull(authData.getPac().getServerSignature());
                assertNotNull(authData.getPac().getKdcSignature());
            }
        }
    
        // Test exception for empty PAC
        @Test
        void testConstructorEmptyPac() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/DfsResolverTest.java

            assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain"));
        }
    
        // Test for getDc method
        @Test
        void testGetDc_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsResolver.getDc(mockContext, "anyDomain"));
        }
    
        @Test
        void testGetDc_Success() throws CIFSException, IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DfsImplTest.java

            assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com"));
        }
    
        // Tests for getDc
        @Test
        void testGetDc_DfsDisabled() throws SmbAuthException {
            // Scenario: DFS is disabled.
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsImpl.getDc(mockContext, "anydomain.com"));
        }
    
        @Test
        void testGetDc_ConnectionFails() throws SmbAuthException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DfsTest.java

                    return null;
                return super.getTrustedDomains(auth);
            }
    
            @Override
            public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled)
                    return null;
                return super.getDc(domain, auth);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.java

            this.pac = new Pac(token, keys);
        }
    
        /**
         * Returns the PAC object.
         *
         * @return the Privilege Attribute Certificate
         */
        public Pac getPac() {
            return this.pac;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/Kerb5ContextTest.java

            byte[] data = new byte[] { 1, 2, 3 };
            byte[] mic = new byte[] { 9, 8 };
            when(gssContext.getMIC(eq(data), eq(0), eq(3), any())).thenReturn(mic);
    
            byte[] res = ctx.calculateMIC(data);
            assertArrayEquals(mic, res);
            verify(gssContext, times(1)).getMIC(eq(data), eq(0), eq(3), any());
        }
    
        @Test
        @DisplayName("calculateMIC wraps GSSException into CIFSException")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            }
            try {
                client.prepareUpdate()
                        .setIndex(settingsIndexName)
                        .setId(settingsId)
                        .setDocAsUpsert(true)
                        .setDoc(key, value)
                        .setRetryOnConflict(5)
                        .execute()
                        .actionGet(getIndexTimeout());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. cmd/callhome.go

    }
    
    func runCallhome(ctx context.Context, objAPI ObjectLayer) bool {
    	// Make sure only 1 callhome is running on the cluster.
    	locker := objAPI.NewNSLock(minioMetaBucket, "callhome/runCallhome.lock")
    	lkctx, err := locker.GetLock(ctx, callhomeLeaderLockTimeout)
    	if err != nil {
    		// lock timedout means some other node is the leader,
    		// cycle back return 'true'
    		return true
    	}
    
    	ctx = lkctx.Context()
    	defer locker.Unlock(lkctx)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/DfsResolver.java

         *
         * @param tf the CIFS context
         * @param domain the domain name
         * @return connection to the domain controller
         * @throws CIFSException if the connection fails
         */
        SmbTransport getDc(CIFSContext tf, String domain) throws CIFSException;
    
        /**
         * Resolve the location of a DFS path
         *
         * @param domain the domain for the DFS referral
         * @param root the DFS root share
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top