Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Encrypt (0.05 sec)

  1. 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)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

    import org.jline.utils.AttributedString;
    import org.jline.utils.AttributedStringBuilder;
    import org.jline.utils.AttributedStyle;
    import org.jline.utils.Colors;
    import org.jline.utils.OSUtils;
    
    /**
     * Encrypt invoker implementation, when Encrypt CLI is being run. System uses ClassWorld launcher, and class world
     * instance is passed in via "enhanced" main method. Hence, this class expects fully setup ClassWorld via constructor.
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

            options.addOption(Option.builder(ENCRYPT_MASTER_PASSWORD)
                    .longOpt("encrypt-master-password")
                    .hasArg()
                    .optionalArg(true)
                    .desc("Encrypt master security password")
                    .build());
            options.addOption(Option.builder(ENCRYPT_PASSWORD)
                    .longOpt("encrypt-password")
                    .hasArg()
                    .optionalArg(true)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvokerRequest.java

                    in,
                    out,
                    err,
                    coreExtensions);
            this.options = (EncryptOptions) requireNonNull(options);
        }
    
        /**
         * The mandatory Encrypt options.
         */
        @Nonnull
        public EncryptOptions options() {
            return options;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

    import org.apache.maven.cling.invoker.mvnenc.DefaultEncryptParser;
    import org.apache.maven.jline.JLineMessageBuilderFactory;
    import org.codehaus.plexus.classworlds.ClassWorld;
    
    /**
     * Maven encrypt CLI "new-gen".
     */
    public class MavenEncCling extends ClingSupport<EncryptOptions, EncryptInvokerRequest> {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                        // Sun/Oracle advises to empty the char array
                        java.util.Arrays.fill(password, ' ');
                    }
                }
                System.out.println(dispatcher.encrypt(passwd, null));
                throw new ExitException(0);
            }
        }
    
        private int execute(CliRequest cliRequest) throws MavenExecutionRequestPopulationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  7. 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)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java

        /**
         * 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)
  9. 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)
  10. 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)
Back to top