Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for authentication (0.07 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository;
    
    /**
     * Authentication
     */
    public class Authentication {
    
        private String privateKey;
    
        private String passphrase;
    
        public Authentication(String userName, String password) {
            this.username = userName;
            this.password = password;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

        }
    
        public boolean isProjectAware() {
            return false;
        }
    
        public Authentication getAuthentication() {
            return authentication;
        }
    
        public void setAuthentication(Authentication authentication) {
            this.authentication = authentication;
        }
    
        public Proxy getProxy() {
            return proxy;
        }
    
        public void setProxy(Proxy proxy) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

         * @since 3.0-beta-1
         */
        boolean isProjectAware();
    
        /**
         * @param authentication authentication
         * @since 3.0-alpha-3
         */
        void setAuthentication(Authentication authentication);
    
        /**
         * @return repository authentication
         * @since 3.0-alpha-3
         */
        Authentication getAuthentication();
    
        /**
         * @param proxy proxy
         * @since 3.0-alpha-3
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (1)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

            repositorySystem.injectAuthentication(Arrays.asList(repository), Arrays.asList(server));
            Authentication authentication = repository.getAuthentication();
            assertNotNull(authentication);
            assertEquals("jason", authentication.getUsername());
            assertEquals("abc123", authentication.getPassword());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

        }
    
        protected static <T> boolean eq(T s1, T s2) {
            return Objects.equals(s1, s2);
        }
    
        public Authentication getAuthentication() {
            return authentication;
        }
    
        public void setAuthentication(Authentication authentication) {
            this.authentication = authentication;
        }
    
        public Proxy getProxy() {
            return proxy;
        }
    
        public void setProxy(Proxy proxy) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.wagon.ResourceDoesNotExistException;
    import org.apache.maven.wagon.TransferFailedException;
    import org.apache.maven.wagon.authentication.AuthenticationInfo;
    import org.apache.maven.wagon.proxy.ProxyInfo;
    
    /**
     * Manages <a href="https://maven.apache.org/wagon">Wagon</a> related operations in Maven.
     *
     */
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                }
            }
        }
    
        private Authentication getAuthentication(AuthenticationSelector selector, ArtifactRepository repository) {
            if (selector != null) {
                RemoteRepository repo = RepositoryUtils.toRepo(repository);
                org.eclipse.aether.repository.Authentication auth = selector.getAuthentication(repo);
                if (auth != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                            }
                        }
    
                        Authentication authentication = new Authentication(server.getUsername(), server.getPassword());
                        authentication.setPrivateKey(server.getPrivateKey());
                        authentication.setPassphrase(server.getPassphrase());
    
                        repository.setAuthentication(authentication);
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            }
            return result;
        }
    
        private static Authentication toAuthentication(org.apache.maven.artifact.repository.Authentication auth) {
            Authentication result = null;
            if (auth != null) {
                AuthenticationBuilder authBuilder = new AuthenticationBuilder();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/security/oauth2-scopes.md

    OAuth2 with scopes is the mechanism used by many big authentication providers, like Facebook, Google, GitHub, Microsoft, Twitter, etc. They use it to provide specific permissions to users and applications.
    
    Every time you "log in with" Facebook, Google, GitHub, Microsoft, Twitter, that application is using OAuth2 with scopes.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top