Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 140 for getSession (0.12 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            resolve(artifact, remoteRepositories, getSession(localRepository));
        }
    
        @Override
        public void resolveAlways(
                Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
                throws ArtifactResolutionException, ArtifactNotFoundException {
            resolve(artifact, remoteRepositories, getSession(localRepository));
        }
    
        private void resolve(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 25K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmServletTest.java

        @Test
        void testService_NoAuthHeader_NoSession() throws ServletException, IOException {
            ntlmServlet.init(servletConfig);
            when(request.getHeader("Authorization")).thenReturn(null);
            when(request.getSession(false)).thenReturn(null);
            lenient().when(request.isSecure()).thenReturn(true);
    
            ntlmServlet.service(request, response);
    
            verify(response).setHeader("WWW-Authenticate", "NTLM");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                    resp.flushBuffer();
                    return null;
                }
                req.getSession().setAttribute("NtlmHttpAuth", ntlm);
            } else if (!skipAuthentication) {
                final HttpSession ssn = req.getSession(false);
                if (ssn == null || (ntlm = (NtlmPasswordAuthentication) ssn.getAttribute("NtlmHttpAuth")) == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

                return transport.getNegotiateResponse().isDFSSupported();
            }
        }
    
        /**
         * @return the session this tree is connected in
         */
        public SmbSessionImpl getSession() {
            return this.session.acquire();
        }
    
        /**
         * @return the tid
         */
        public int getTid() {
            return this.tid;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  5. docs/smb3-features/02-persistent-handles-design.md

        
        // Determine handle type based on configuration and server capabilities
        if (tree.getSession().supports(SMB3_0) && config.isUsePersistentHandles()) {
            handleType = HandleType.PERSISTENT;
        } else if (tree.getSession().supports(SMB3_0)) {
            handleType = HandleType.DURABLE_V2;
        } else if (tree.getSession().supports(SMB2_1)) {
            handleType = HandleType.DURABLE_V1;
        } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    return;
                }
                final HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute("ntlmdomain", ntlm.getDomain());
                ssn.setAttribute("ntlmuser", ntlm.getUsername());
            } else {
                final HttpSession ssn = request.getSession(false);
                if (ssn == null || ssn.getAttribute("NtlmHttpAuth") == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

                    resp.flushBuffer();
                    return null;
                }
                req.getSession().setAttribute("NtlmHttpAuth", ntlm);
            } else if (!skipAuthentication) {
                final HttpSession ssn = req.getSession(false);
                if (ssn == null || (ntlm = (NtlmPasswordAuthentication) ssn.getAttribute("NtlmHttpAuth")) == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/BaseRequest.java

        protected BaseRequest(@Nonnull S session, RequestTrace trace) {
            this.session = requireNonNull(session, "session cannot be null");
            this.trace = trace;
        }
    
        @Nonnull
        @Override
        public S getSession() {
            return session;
        }
    
        @Override
        public RequestTrace getTrace() {
            return trace;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

         * @return a new {@link DependencyCoordinates} object
         *
         * @throws IllegalArgumentException if {@code request} is null or
         *         if {@code request.getSession()} is null or invalid
         */
        @Nonnull
        DependencyCoordinates create(@Nonnull DependencyCoordinatesFactoryRequest request);
    
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

            DeployRequest request = new DeployRequest();
    
            request.setTrace(RequestTrace.newChild(null, legacySupport.getSession().getCurrentProject()));
    
            org.eclipse.aether.artifact.Artifact mainArtifact = RepositoryUtils.toArtifact(artifact);
            mainArtifact = mainArtifact.setFile(source);
            request.addArtifact(mainArtifact);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top