Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for decrypt (0.06 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java

    import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.OK;
    
    /**
     * The "decrypt" goal.
     */
    @Singleton
    @Named("decrypt")
    public class Decrypt extends ConfiguredGoalSupport {
        @Inject
        public Decrypt(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java

    public interface SettingsDecryptionRequest {
    
        /**
         * Gets the servers whose passwords should be decrypted.
         *
         * @return The servers to decrypt, never {@code null}.
         */
        List<Server> getServers();
    
        /**
         * Sets the servers whose passwords should be decrypted.
         *
         * @param servers The servers to decrypt, may be {@code null}.
         * @return This request, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

                                    null));
                        }
                        server.setPassword(securityDispatcher.decrypt(password));
                    } catch (SecDispatcherException | IOException e) {
                        problems.add(new DefaultSettingsProblem(
                                "Failed to decrypt password for server " + server.getId() + ": " + e.getMessage(),
                                Severity.ERROR,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java

        }
    
        /**
         * Creates a new request to decrypt the specified settings.
         *
         * @param settings The settings to decrypt, must not be {@code null}.
         */
        public DefaultSettingsDecryptionRequest(Settings settings) {
            setServers(settings.getServers());
            setProxies(settings.getProxies());
        }
    
        /**
         * Creates a new request to decrypt the specified server.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            }
    
            DefaultSettingsDecryptionRequest decrypt = new DefaultSettingsDecryptionRequest();
            decrypt.setProxies(request.getProxies());
            decrypt.setServers(request.getServers());
            SettingsDecryptionResult decrypted = settingsDecrypter.decrypt(decrypt);
            for (SettingsProblem problem : decrypted.getProblems()) {
                if (problem.getSeverity() == SettingsProblem.Severity.WARNING) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                            if (id.equalsIgnoreCase(server.getId())) {
                                SettingsDecryptionResult result =
                                        settingsDecrypter.decrypt(new DefaultSettingsDecryptionRequest(server));
                                server = result.getServer();
    
                                AuthenticationInfo authInfo = new AuthenticationInfo();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java

     * under the License.
     */
    package org.apache.maven.settings.crypto;
    
    /**
     * Decrypts passwords in the settings.
     *
     * @deprecated since 4.0.0
     */
    @Deprecated(since = "4.0.0")
    public interface SettingsDecrypter {
    
        /**
         * Decrypts passwords in the settings.
         *
         * @param request The settings decryption request that holds the parameters, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                    if (server != null) {
                        SettingsDecryptionRequest request = new DefaultSettingsDecryptionRequest(server);
                        SettingsDecryptionResult result = settingsDecrypter.decrypt(request);
                        server = result.getServer();
    
                        if (logger.isDebugEnabled()) {
                            for (SettingsProblem problem : result.getProblems()) {
    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-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Encrypt.java

    import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.OK;
    
    /**
     * The "encrypt" goal.
     */
    @Singleton
    @Named("encrypt")
    public class Encrypt extends ConfiguredGoalSupport {
        @Inject
        public Encrypt(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java

         *
         * @return The decrypted server, can be empty but never {@code null}.
         */
        List<Server> getServers();
    
        /**
         * Gets the decrypted proxy. This is a convenience method to retrieve the first element from {@link #getProxies()}.
         *
         * @return The decrypted proxy or {@code null}.
         */
        Proxy getProxy();
    
        /**
         * Gets the decrypted proxies.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top