Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for getDomain (0.14 sec)

  1. src/main/java/jcifs/http/NtlmSsp.java

                    byte[] ntResponse = type3.getNTResponse();
                    if ( ntResponse == null )
                        ntResponse = new byte[0];
                    return new NtlmPasswordAuthentication(type3.getDomain(), type3.getUser(), challenge, lmResponse, ntResponse);
                }
            }
            else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmSsp.java

                    byte[] ntResponse = type3.getNTResponse();
                    if (ntResponse == null) ntResponse = new byte[0];
                    return new NtlmPasswordAuthentication(type3.getDomain(),
                            type3.getUser(), challenge, lmResponse, ntResponse);
                }
            } else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type3Message.java

         *
         * @return A <code>String</code> containing the domain for the user.
         */
        public String getDomain () {
            return this.domain;
        }
    
    
        /**
         * Sets the domain for this message.
         *
         * @param domain
         *            The domain.
         */
        public void setDomain ( String domain ) {
            this.domain = domain;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileLocationTest.java

                return this.server;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#getDomain()
             */
            @Override
            public String getDomain () {
                return null;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#getLink()
             */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    return;
                }
                HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute( "ntlmdomain", ntlm.getDomain() );
                ssn.setAttribute( "ntlmuser", ntlm.getUsername() );
            } else {
                HttpSession ssn = request.getSession(false);
                if (ssn == null || ssn.getAttribute("NtlmHttpAuth") == null) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

                    // restores almost everything that was modified, except the path.
                    rpath.setPath(savedPath);
                    rpath.setFullUNCPath(rpath.getDomain(), rpath.getServer(), savedFullPath);
                }
                if ( response != null ) {
                    response.reset();
                }
    
                try ( SmbTreeHandle th = connectWrapException(loc) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        public String getFullUNCPath () {
            return this.fullPath;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getDomain()
         */
        @Override
        public String getDomain () {
            return this.domain;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getServer()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                }
                throw new SmbException(resp.getErrorCode(), null);
            }
    
            if ( req.getDomain() != null && getContext().getConfig().isDfsConvertToFQDN() && dr instanceof DfsReferralDataImpl ) {
                ( (DfsReferralDataImpl) dr ).fixupDomain(req.getDomain());
            }
            if ( log.isDebugEnabled() ) {
                log.debug("Got referral " + dr);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            this.challenge = challenge;
            this.ansiHash = ansiHash;
            this.unicodeHash = unicodeHash;
            hashesExternal = true;
        }
    
    /**
     * Returns the domain.
     */
        public String getDomain() {
            return domain;
        }
    
    /**
     * Returns the username.
     */
        public String getUsername() {
            return username;
        }
    /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  10. tests/test_response_change_status_code.py

        response.status_code = 201
    
    
    async def parent_dep(result=Depends(response_status_setter)):
        return result
    
    
    @app.get("/", dependencies=[Depends(parent_dep)])
    async def get_main():
        return {"msg": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.get("/")
        assert response.status_code == 201, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 589 bytes
    - Viewed (0)
Back to top