Package org.jboss.as.jdr.util

Examples of org.jboss.as.jdr.util.Sanitizer


    private final PluginId pluginId = new PluginId("RHQ", 1, 0, null);

    @Override
    public List<JdrCommand> getCommands() throws Exception {
        Sanitizer passwordSanitizer = Sanitizers.pattern("password=.*", "password=*****");
        return Arrays.asList(
            new RHQStatusCommand(),
            new RHQCollectFiles("bin/rhq-server.properties").sanitizer(passwordSanitizer),
            new RHQCollectFiles("logs/server.log").limit(50 * Utils.ONE_MB),
            new RHQCollectFiles("logs/server.log*").omit("logs/server.log"),
 
View Full Code Here


    private final PluginId pluginId = new PluginId("AS7_PLUGIN", 1, 0, null);

    @Override
    public List<JdrCommand> getCommands() throws Exception {
        Sanitizer xmlSanitizer = Sanitizers.xml("//password");
        Sanitizer passwordSanitizer = Sanitizers.pattern("password=.*", "password=*");

        return Arrays.asList(
            new TreeCommand(),
            new JarCheck(),
            new CallAS7("configuration").param("recursive", "true"),
View Full Code Here

    private final PluginId pluginId = new PluginId("AS7_PLUGIN", 1, 0, null);

    @Override
    public List<JdrCommand> getCommands() throws Exception {
        Sanitizer xmlSanitizer = Sanitizers.xml("//password");
        Sanitizer passwordSanitizer = Sanitizers.pattern("password=.*", "password=*");

        return Arrays.asList(
            new TreeCommand(),
            new JarCheck(),
            new CallAS7("configuration").param("recursive", "true"),
View Full Code Here

TOP

Related Classes of org.jboss.as.jdr.util.Sanitizer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.