Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for setSession (0.11 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

            boolean missing = event.getFile() == null;
            if (missing) {
                // missing artifact - let's track the path anyway
                File dir = event.getSession().getLocalRepository().getBasedir();
                dir = new File(
                        dir, event.getSession().getLocalRepositoryManager().getPathForLocalArtifact(event.getArtifact()));
                trackingDir = dir.getParentFile().toPath().resolve(".tracking");
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record) {
                    Record record = (Record) obj;
                    result.setVersion(record.version);
                    result.setRepository(
                            getRepository(session, request.getRepositories(), record.repoClass, record.repoId));
                    return result;
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpFilter.java

                    resp.flushBuffer();
                    return null;
                }
                req.getSession().setAttribute("NtlmHttpAuth", ntlm);
            }
            else {
                if ( !skipAuthentication ) {
                    HttpSession ssn = req.getSession(false);
                    if ( ssn == null || ( ntlm = (NtlmPasswordAuthentication) ssn.getAttribute("NtlmHttpAuth") ) == null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                }, validationErrorLambda);
                return null;
            });
        }
    
        private OptionalThing<HttpSession> getSession() {
            final HttpSession session = request.getSession(false);
            if (session != null) {
                return OptionalEntity.of(session);
            }
            return OptionalEntity.empty();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            resolve(artifact, remoteRepositories, getSession(localRepository));
        }
    
        public void resolveAlways(
                Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
                throws ArtifactResolutionException, ArtifactNotFoundException {
            resolve(artifact, remoteRepositories, getSession(localRepository));
        }
    
        private void resolve(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

         * 
         * @return session that this file has been loaded through
         */
        @SuppressWarnings ( "resource" )
        public SmbSessionImpl getSession () {
            SmbTreeImpl t = getTreeInternal();
            if ( t != null ) {
                return t.getSession();
            }
            return null;
        }
    
    
        /**
         * 
         * Only call this method while holding a tree handle
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

        public void sessionStarted(ExecutionEvent event) {
            if (logger.isInfoEnabled() && event.getSession().getProjects().size() > 1) {
                init();
                infoLine('-');
    
                infoMain("Reactor Build Order:");
    
                logger.info("");
    
                final List<MavenProject> projects = event.getSession().getProjects();
                for (MavenProject project : projects) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            if (Artifact.LATEST_VERSION.equals(version) || Artifact.RELEASE_VERSION.equals(version)) {
                // meta-versions are not valid <version/> values...don't write them.
                metadata.setVersion(null);
            }
    
            if (changed || !metadataFile.exists()) {
                metadataFile.getParentFile().mkdirs();
                try (OutputStream output = Files.newOutputStream(metadataFile.toPath())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            /*
            Dependency dep1 = new Dependency();
            dep1.setGroupId( "test" );
            dep1.setArtifactId( "test-artifact" );
            dep1.setVersion( "1" );
            dep1.setType( "jar" );
    
            Exclusion exc = new Exclusion();
            exc.setGroupId( "test" );
            exc.setArtifactId( "test-artifact3" );
    
            dep1.addExclusion( exc );
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

            Metadata metadata = new Metadata();
            metadata.setVersioning(versioning);
            metadata.setGroupId(artifact.getGroupId());
            metadata.setArtifactId(artifact.getArtifactId());
            metadata.setVersion(artifact.getBaseVersion());
            metadata.setModelVersion("1.1.0");
            return metadata;
        }
    
        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top