Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 103 for get_session (0.04 sec)

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

            SmbSessionImpl session = mock(SmbSessionImpl.class);
            when(tree.getSession()).thenReturn(session);
            when(session.getSessionKey()).thenReturn(new byte[] { 1, 2, 3 });
    
            byte[] key = target.getSessionKey();
            assertArrayEquals(new byte[] { 1, 2, 3 }, key);
            verify(tree, times(1)).getSession();
            verify(session, times(1)).getSessionKey();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

    @Immutable
    public interface Request<S extends ProtoSession> {
    
        /**
         * Returns the session associated with this request.
         *
         * @return the session instance, never {@code null}
         */
        @Nonnull
        S getSession();
    
        /**
         * Returns the trace information associated with this request, if any.
         * The trace provides context about the request's position in the operation
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

            InstallRequest request = new InstallRequest();
    
            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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            verify(c, never()).connectHost(any(), anyString());
        }
    
        @Test
        @DisplayName("getSession returns null when no tree is present")
        void getSession_nullWhenNoTree() {
            SmbTreeConnection c = newConn();
            assertNull(c.getSession());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

            this.delegate = delegate;
            this.eventType = eventType;
        }
    
        @Override
        public EventType getType() {
            return eventType;
        }
    
        @Override
        public Session getSession() {
            return session;
        }
    
        @Override
        public Optional<Project> getProject() {
            return Optional.ofNullable(session.getProject(delegate.getProject()));
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 29 20:53:26 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/BuildListCalculatorTest.java

            final ProjectSegment build = segments.get(0);
            assertNotNull(build);
    
            for (ProjectSegment segment : segments) {
                assertSame(session, segment.getSession());
            }
        }
    
        private static LifecycleTaskSegmentCalculator getTaskSegmentCalculator() {
            return new LifecycleTaskSegmentCalculatorStub();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmServlet.java

                    return;
                }
                final HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute("ntlmdomain", ntlm.getUserDomain());
                ssn.setAttribute("ntlmuser", ntlm.getUsername());
            } else {
                final HttpSession ssn = request.getSession(false);
                if (ssn == null || ssn.getAttribute("NtlmHttpAuth") == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  8. impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            MavenSession session = new MavenSession(
                    getContainer(), repoSession, new DefaultMavenExecutionRequest(), new DefaultMavenExecutionResult());
            session.setSession(defaultSessionFactory.newSession(session));
    
            DefaultSession s = new DefaultSession(session, null, null, null, null, null);
            SessionScope scope = container.lookup(SessionScope.class);
            scope.enter();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

            this.session = session;
            this.project = project;
            this.mojoExecution = mojoExecution;
            this.mojo = mojo;
            this.cause = cause;
        }
    
        public MavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public MojoExecution getExecution() {
            return mojoExecution;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java

            this.session = session;
            this.project = project;
            this.executionPlan = executionPlan;
            this.cause = cause;
        }
    
        public MavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public List<MojoExecution> getExecutionPlan() {
            return executionPlan;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top