Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 353 for AUTH (0.01 sec)

  1. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            Kerb5Authenticator auth = new Kerb5Authenticator(subj, "DOM", "user", "pass");
            auth.setUser("alice");
            auth.setRealm("EXAMPLE.COM");
            auth.setService("cifs");
            auth.setUserLifeTime(123);
            auth.setLifeTime(456);
            auth.setForceFallback(true);
    
            Kerb5Authenticator cloned = auth.clone();
    
            assertNotSame(auth, cloned);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DfsTest.java

            @Override
            public HashMap getTrustedDomains(NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled || auth.domain == "?")
                    return null;
                return super.getTrustedDomains(auth);
            }
    
            @Override
            public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled)
                    return null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            JAASAuthenticator auth = spy(new JAASAuthenticator());
            // Avoid real JAAS by stubbing getSubject
            doReturn(new Subject()).when(auth).getSubject();
    
            // Act
            CredentialsInternal result = auth.renew();
    
            // Assert interaction and return value
            assertSame(auth, result);
            verify(auth, times(1)).getSubject();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

            Map<String, Object> params = new HashMap<>();
            SmbAuthentication auth = new SmbAuthentication();
            auth.setUsername("testuser1");
            auth.setPassword("test123");
            auth.setDomain("WORKGROUP");
            params.put("smb1Authentications", new SmbAuthentication[] { auth });
            client.setInitParameterMap(params);
            client.init();
    
            boolean connected = false;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 30K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

                }
            }
            t = new SmbTree(this, share, service);
            trees.addElement(t);
            return t;
        }
    
        boolean matches(final NtlmPasswordAuthentication auth) {
            return this.auth == auth || this.auth.equals(auth);
        }
    
        synchronized SmbTransport transport() {
            if (transport == null) {
                transport = SmbTransport.getSmbTransport(address, port, localAddr, localPort, null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

        /**
         * Test parsing with an unknown auth type.
         * Expects an empty list of authorizations.
         * @throws PACDecodingException should not be thrown
         */
        @Test
        void testParseUnknownAuthType() throws PACDecodingException {
            // GIVEN an unknown auth type
            int unknownAuthType = -1;
            byte[] emptyToken = new byte[0];
    
            // WHEN parsing the auth data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                Map<String, Object> params = new HashMap<String, Object>();
                FtpAuthentication auth = new FtpAuthentication();
                auth.setUsername(username);
                auth.setPassword(password);
                params.put(FtpClient.FTP_AUTHENTICATIONS_PROPERTY, new FtpAuthentication[] { auth });
                ftpClient.setInitParameterMap(params);
    
                ftpClient.doGet("ftp://localhost:" + FTP_PORT + "/");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                        session.removeAttribute(SAML_STATE);
                        try {
                            final Auth auth = new Auth(getSettings(), request, response);
                            auth.processResponse();
    
                            if (!auth.isAuthenticated()) {
                                if (logger.isDebugEnabled()) {
                                    logger.debug("Authentication failed.");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 20.2K bytes
    - Viewed (3)
  9. src/main/java/jcifs/smb1/smb1/Dfs.java

        /**
         * Gets the map of trusted domains for DFS resolution
         * @param auth the authentication credentials
         * @return a map of trusted domain names to domain controllers
         * @throws SmbAuthException if authentication fails
         */
        public HashMap getTrustedDomains(final NtlmPasswordAuthentication auth) throws SmbAuthException {
            if (DISABLED || auth.domain == "?") {
                return null;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            Map<String, Object> params = new HashMap<>();
            SmbAuthentication auth = new SmbAuthentication();
            auth.setUsername("testuser1");
            auth.setPassword("test123");
            auth.setDomain("WORKGROUP");
            params.put("smbAuthentications", new SmbAuthentication[] { auth });
            client.setInitParameterMap(params);
            client.init();
    
            boolean connected = false;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 31.9K bytes
    - Viewed (0)
Back to top