Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getVersion (0.1 sec)

  1. src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java

        /**
         * Gets the witness protocol version.
         *
         * @return the protocol version
         */
        public int getVersion() {
            return version;
        }
    
        /**
         * Sets the witness protocol version.
         *
         * @param version the protocol version
         */
        public void setVersion(int version) {
            this.version = version;
        }
    
        /**
         * Gets the share name to monitor.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/Referral.java

        String specialName = null;
    
        String[] expandedNames = {};
    
        /**
         * Gets the DFS referral version number.
         *
         * @return the version
         */
        public final int getVersion() {
            return this.version;
        }
    
        /**
         * Gets the size of this referral entry in bytes.
         *
         * @return the size
         */
        public final int getSize() {
            return this.size;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            assertEquals(serverAddress, registration.getServerAddress());
            assertEquals(WitnessServiceType.FILE_SERVER_WITNESS, registration.getServiceType());
            assertEquals(WitnessVersion.VERSION_2, registration.getVersion());
            assertEquals(WitnessRegistrationState.REGISTERING, registration.getState());
            assertEquals(WitnessRegistration.WITNESS_REGISTER_IP_NOTIFICATION, registration.getFlags());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRegistration.java

            return serviceType;
        }
    
        /**
         * Gets the witness version.
         *
         * @return the witness version
         */
        public WitnessVersion getVersion() {
            return version;
        }
    
        /**
         * Gets the registration state.
         *
         * @return the current registration state
         */
        public WitnessRegistrationState getState() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

         *
         * @param version the witness protocol version
         */
        public void setVersion(WitnessVersion version) {
            this.version = version;
        }
    
        /**
         * Gets the witness protocol version.
         *
         * @return the witness protocol version
         */
        public WitnessVersion getVersion() {
            return version;
        }
    
        /**
         * Sets the network name (server name).
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        }
    
        @Test
        @DisplayName("getSession(): may return null and should be observed as such")
        void getSession_returnsNull() {
            // Arrange
            when(handle.getSession()).thenReturn(null);
    
            // Act
            SmbSession result = handle.getSession();
    
            // Assert
            assertNull(result);
            verify(handle).getSession();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                    messages.addErrorsLoginError(GLOBAL);
                }, validationErrorLambda);
            });
        }
    
        private OptionalThing<HttpSession> getSession() {
            final HttpSession session = request.getSession(false);
            if (session != null) {
                return OptionalEntity.of(session);
            }
            return OptionalEntity.empty();
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    return;
                }
                final HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute("ntlmdomain", ntlm.getDomain());
                ssn.setAttribute("ntlmuser", ntlm.getUsername());
            } else {
                final HttpSession ssn = request.getSession(false);
                if (ssn == null || ssn.getAttribute("NtlmHttpAuth") == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         */
        boolean areSignaturesActive() throws CIFSException;
    
        /**
         * Internal/testing use only
         *
         * @return attached session
         */
        SmbSession getSession();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmServlet.java

                    return;
                }
                final HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute("ntlmdomain", ntlm.getUserDomain());
                ssn.setAttribute("ntlmuser", ntlm.getUsername());
            } else {
                final HttpSession ssn = request.getSession(false);
                if (ssn == null || ssn.getAttribute("NtlmHttpAuth") == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
Back to top