com.atlassian.bamboo.util
Class PasswordMaskingUtils

java.lang.Object
  extended by com.atlassian.bamboo.util.PasswordMaskingUtils

public class PasswordMaskingUtils
extends java.lang.Object


Field Summary
static java.lang.String PASSWORD_MASK
           
 
Method Summary
static boolean isMasked(java.lang.String value)
           
static java.lang.String mask(java.lang.String string, java.lang.String password)
           
static java.util.Collection<? extends VariableDefinition> maskPasswordValues(java.util.List<VariableDefinition> variables, com.google.common.base.Function<VariableDefinition,? extends VariableDefinition> clone)
           
static boolean shouldBeMasked(java.lang.String variableName)
           
static boolean shouldBeMasked(VariableDefinition variableDefinition)
           
static boolean shouldIgnoreValue(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PASSWORD_MASK

public static final java.lang.String PASSWORD_MASK
See Also:
Constant Field Values
Method Detail

isMasked

public static boolean isMasked(@Nullable
                               java.lang.String value)

shouldBeMasked

public static boolean shouldBeMasked(@Nullable
                                     java.lang.String variableName)

shouldBeMasked

public static boolean shouldBeMasked(@NotNull
                                     VariableDefinition variableDefinition)

shouldIgnoreValue

public static boolean shouldIgnoreValue(java.lang.String key,
                                        java.lang.String value)

maskPasswordValues

public static java.util.Collection<? extends VariableDefinition> maskPasswordValues(@NotNull
                                                                                    java.util.List<VariableDefinition> variables,
                                                                                    @NotNull
                                                                                    com.google.common.base.Function<VariableDefinition,? extends VariableDefinition> clone)

mask

@NotNull
public static java.lang.String mask(@NotNull
                                            java.lang.String string,
                                            @Nullable
                                            java.lang.String password)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.