| java.lang.Object net.myvietnam.mvncore.security.Encoder
Encoder | public class Encoder (Code) | | |
decodeURL | public static String decodeURL(String input)(Code) | | This method just call URLDecoder.decode() with the default encoding UTF-8
Parameters: input - String String |
encodePath | public static String encodePath(String path)(Code) | | Parameters: path - the path, something like this localhost:8080/image/index.html the path after being encoded |
encodeURL | public static String encodeURL(String input)(Code) | | This method just call URLEncoder.encode() with the default encoding is UTF-8
Parameters: input - String String |
filterUrl | public static String filterUrl(String url)(Code) | | Filter a URL to make it safe, this method is used in class URLFilter
Parameters: url - String a URL to be filtered String a URL that has been filtered |
getMD5_Base64 | public static synchronized String getMD5_Base64(String input)(Code) | | This method return a String that has been encrypted as MD5 and then escaped using Base64.
This method should be used to encrypt all password for maximum security.
Parameters: input - String the string that need encrypted String the string after encrypted |
|
|