Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 363 for authN (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb/NtlmContext.java

                    this.auth.isGuest() ? null : this.auth.getUserDomain(),
                    this.auth.isGuest() ? this.transportContext.getConfig().getGuestUsername() : this.auth.getUsername(), this.workstation,
                    this.ntlmsspFlags, this.auth.isGuest() || !this.auth.isAnonymous());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmContext.java

         */
        public NtlmContext(final NtlmPasswordAuthentication auth, final boolean doSigning) {
            this.auth = auth;
            this.ntlmsspFlags =
                    ntlmsspFlags | NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM2 | NtlmFlags.NTLMSSP_NEGOTIATE_128;
            if (doSigning) {
                this.ntlmsspFlags |=
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                if (cred instanceof final NtlmPasswordAuthentication auth) {
                    if (auth == NtlmPasswordAuthentication.ANONYMOUS) {
                        lmHash = new byte[0];
                        ntHash = new byte[0];
                        capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
                    } else if (session.transport.server.encryptedPasswords) {
                        lmHash = auth.getAnsiHash(session.transport.server.encryptionKey);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. fastapi/openapi/docs.py

                if ((
                  oauth2.auth.schema.get("flow") === "accessCode" ||
                  oauth2.auth.schema.get("flow") === "authorizationCode" ||
                  oauth2.auth.schema.get("flow") === "authorization_code"
                ) && !oauth2.auth.code) {
                    if (!isValid) {
                        oauth2.errCb({
                            authId: oauth2.auth.name,
                            source: "auth",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

        public static NtlmPasswordAuthentication requestNtlmPasswordAuthentication(final String url, final SmbAuthException sae) {
            if (auth == null) {
                return null;
            }
            synchronized (auth) {
                auth.url = url;
                auth.sae = sae;
                return auth.getNtlmPasswordAuthentication();
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top