Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getAuthType (0.2 sec)

  1. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
            assertEquals("NTLM", request.getAuthType());
            // Verify it returns the same value on multiple calls
            assertEquals("NTLM", request.getAuthType());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

        /**
         * Test method for {@link NtlmHttpServletRequest#getAuthType()}.
         * Verifies that the method always returns "NTLM".
         */
        @Test
        void testGetAuthType() {
            // Arrange: Define the expected authentication type
            String expectedAuthType = "NTLM";
    
            // Act: Call the method under test
            String actualAuthType = ntlmRequest.getAuthType();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpServletRequest.java

            return this.principal.getName();
        }
    
        @Override
        public Principal getUserPrincipal() {
            return this.principal;
        }
    
        @Override
        public String getAuthType() {
            return "NTLM";
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/AuthenticationProvider.java

         */
        enum AuthType {
            NTLM, KERBEROS, SPNEGO, GUEST, ANONYMOUS
        }
    
        /**
         * Gets the authentication type
         *
         * @return the authentication type
         */
        AuthType getAuthType();
    
        /**
         * Authenticates using the provided context
         *
         * @param context the CIFS context
         * @param challenge the server challenge (may be null for some auth types)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpServletRequest.java

        public String getRemoteUser() {
            return principal.getName();
        }
    
        @Override
        public Principal getUserPrincipal() {
            return principal;
        }
    
        @Override
        public String getAuthType() {
            return "NTLM";
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            public String getHeader(String name) {
                return headers.get(name);
            }
    
            // All other methods with default implementations
            @Override
            public String getAuthType() {
                return null;
            }
    
            @Override
            public Cookie[] getCookies() {
                return new Cookie[0];
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

                    return originHeader;
                }
                return null;
            }
    
            // Minimal implementations for other required methods
            @Override
            public String getAuthType() {
                return null;
            }
    
            @Override
            public jakarta.servlet.http.Cookie[] getCookies() {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

        }
    
        // Helper method to create mock HttpServletRequest
        private HttpServletRequest createMockRequest() {
            return new HttpServletRequest() {
                @Override
                public String getAuthType() {
                    return null;
                }
    
                @Override
                public jakarta.servlet.http.Cookie[] getCookies() {
                    return null;
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                @Override
                public jakarta.servlet.ServletConnection getServletConnection() {
                    return null;
                }
    
                @Override
                public String getAuthType() {
                    return null;
                }
    
                @Override
                public jakarta.servlet.http.Cookie[] getCookies() {
                    return null;
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            @Override
            public jakarta.servlet.ServletConnection getServletConnection() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getAuthType() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public jakarta.servlet.http.Cookie[] getCookies() {
                throw new UnsupportedOperationException();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
Back to top