Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getAuthType (0.04 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)
Back to top