goja-web/src/main/java/goja/mvc/kits/Servlets.java
public static String encodeHttpBasic(String userName, String password) {
        String encode = userName + StringPool.COLON + password;
        return "Basic " + EncodeKit.encodeBase64(encode.getBytes());
    }
public static String encodeHttpBasic(String userName, String password) {
        String encode = userName + StringPool.COLON + password;
        return "Basic " + EncodeKit.encodeBase64(encode.getBytes());
    }
public static String encodeHttpBasic ( String userName , String password ) { String encode = userName + StringPool . COLON + password ; return "Basic " + EncodeKit . encodeBase64 ( encode . getBytes ( ) ) ; }
客户端对Http Basic验证的 Header进行编码.
客户端对Http Basic验证的 Header进行编码 .