Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for reauthenticate (1.56 sec)

  1. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    ntlm = (NtlmPasswordAuthentication) ssn.getAttribute("npa-" + server);
                }
                if (ntlm == null) {
                    resp.setHeader("WWW-Authenticate", "NTLM");
                    if (offerBasic) {
                        resp.addHeader("WWW-Authenticate", "Basic realm=\"" + realm + "\"");
                    }
                    resp.setHeader("Connection", "close");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Full NTLM handshake testing would require more complex mocking
    
            // Arrange - Mock a server that supports NTLM
            mockResponse(HTTP_UNAUTHORIZED, "Unauthorized", Collections.singletonMap("WWW-Authenticate", Collections.singletonList("NTLM")),
                    new ByteArrayInputStream(new byte[0]));
    
            // Act - Trigger handshake
            int responseCode = ntlmConnection.getResponseCode();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

         *
         * @param dc the domain controller to authenticate against
         * @param auth the authentication credentials
         * @throws SmbException if authentication fails or an SMB error occurs
         */
        public static void logon(final UniAddress dc, final NtlmPasswordAuthentication auth) throws SmbException {
            logon(dc, 0, auth);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Session Setup request message. This command is used to establish a security session
     * and authenticate a user to the server.
     *
     * @author mbechler
     *
     */
    public class Smb2SessionSetupRequest extends ServerMessageBlock2Request<Smb2SessionSetupResponse> {
    
        private final byte[] token;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                    ;
                }
            }
            String authHeader;
            if (response == HTTP_UNAUTHORIZED) {
                authHeader = "WWW-Authenticate";
                authProperty = "Authorization";
            } else {
                authHeader = "Proxy-Authenticate";
                authProperty = "Proxy-Authorization";
            }
            String authorization = null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        /**
         * Create an NtlmPasswordAuthentication object from domain, username, and password.
         *
         * @param domain the authentication domain
         * @param username the username to authenticate with
         * @param password the password to authenticate with
         */
        public NtlmPasswordAuthentication(String domain, String username, final String password) {
            int ci;
    
            if (username != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbException;
    
    /**
     * SMB1 Session Setup AndX request message.
     *
     * This command is used to authenticate a user session and
     * establish security context for subsequent operations.
     */
    public class SmbComSessionSetupAndX extends AndXServerMessageBlock {
    
        private byte[] lmHash, ntHash, blob = null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

            }
            try {
                // set some System properties
                final SpnegoFilterConfig config = SpnegoFilterConfig.getInstance(new SpnegoConfig());
    
                // pre-authenticate
                authenticator = new org.codelibs.spnego.SpnegoAuthenticator(config);
    
                fessConfig.setSystemPropertyAsBoolean(SPNEGO_INITIALIZED, true);
                fessConfig.storeSystemProperties();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  9. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    .orElseThrow(() -> new FessSystemException("Cannot create an access token."));
        }
    
        /**
         * Generates and saves a new access token for the current session.
         * The token is used to authenticate API requests.
         */
        public void saveToken() {
            getSessionManager().setAttribute(Constants.SEARCH_ENGINE_API_ACCESS_TOKEN, UUID.randomUUID().toString().replace("-", ""));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                    }
                }
                String authHeader;
                if (response == HTTP_UNAUTHORIZED) {
                    authHeader = "WWW-Authenticate";
                    this.authProperty = "Authorization";
                } else {
                    authHeader = "Proxy-Authenticate";
                    this.authProperty = "Proxy-Authorization";
                }
                String authorization = null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top