org.kuali.common.util
Class LoggerUtils

java.lang.Object
  extended by org.kuali.common.util.LoggerUtils

public class LoggerUtils
extends Object


Constructor Summary
LoggerUtils()
           
 
Method Summary
static String getNullAsNone(String string)
           
static String getPassword(String username, String password)
           
static String getPassword(String username, String password, Obscurer obscurer)
           
static String getUsername(String username)
           
static void logNullAsNone(org.slf4j.Logger logger, String prefix)
          Log null as NONE
static void logPassword(org.slf4j.Logger logger, String prefix, String username, String password)
           
static void logPassword(org.slf4j.Logger logger, String prefix, String username, String password, Obscurer obscurer)
           
static void logUsername(org.slf4j.Logger logger, String prefix, String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerUtils

public LoggerUtils()
Method Detail

getUsername

public static final String getUsername(String username)

getNullAsNone

public static final String getNullAsNone(String string)

getPassword

public static final String getPassword(String username,
                                       String password)

getPassword

public static final String getPassword(String username,
                                       String password,
                                       Obscurer obscurer)

logUsername

public static final void logUsername(org.slf4j.Logger logger,
                                     String prefix,
                                     String username)

logPassword

public static final void logPassword(org.slf4j.Logger logger,
                                     String prefix,
                                     String username,
                                     String password)

logPassword

public static final void logPassword(org.slf4j.Logger logger,
                                     String prefix,
                                     String username,
                                     String password,
                                     Obscurer obscurer)

logNullAsNone

public static final void logNullAsNone(org.slf4j.Logger logger,
                                       String prefix)
Log null as NONE



Copyright © 2010-2012 The Kuali Foundation. All Rights Reserved.