public static UsernamePasswordCredentials getUPC(String usernameSamePassword) {
        if (CommUtil.isBlank(usernameSamePassword)) {
            return null;
        }
        return new UsernamePasswordCredentials(usernameSamePassword);
    }
public static UsernamePasswordCredentials getUPC(String usernameSamePassword) {
        if (CommUtil.isBlank(usernameSamePassword)) {
            return null;
        }
        return new UsernamePasswordCredentials(usernameSamePassword);
    }
public static UsernamePasswordCredentials getUPC ( String usernameSamePassword ) { if ( CommUtil . isBlank ( usernameSamePassword ) ) { return null ; } return new UsernamePasswordCredentials ( usernameSamePassword ) ; }
Get UsernamePasswordCredentials

@param usernameSamePassword the same string of username and password
@return UsernamePasswordCredentials
Get UsernamePasswordCredentials