类 EncryptHandler


  • @Order(1)
    public class EncryptHandler
    extends Object
    The type Encrypt handler.
    版本:
    : 1.0.0-SNAPSHOT
    作者:
    : created by LongFa
    • 字段详细资料

      • echo

        public static final org.apache.commons.logging.Log echo
        The constant echo.
    • 构造器详细资料

      • EncryptHandler

        public EncryptHandler​(@NonNull
                              HoneyBadgerEncrypt honeyBadgerEncrypt)
    • 方法详细资料

      • encrypt

        public Object encrypt​(org.aspectj.lang.ProceedingJoinPoint joinPoint,
                              Encrypt encrypt)
                       throws Throwable
        根据不同场景 选择性调用 传输加密:对执行结果 存储加密:对参数
        参数:
        joinPoint - the join point
        返回:
        the object
        抛出:
        Throwable - the throwable
      • decrypt

        public Object decrypt​(org.aspectj.lang.ProceedingJoinPoint joinPoint,
                              Decrypt decrypt)
                       throws Throwable
        传输解密:对参数 存储解密:对执行结果
        参数:
        joinPoint - the join point
        decrypt - the decrypt
        返回:
        the object
        抛出:
        Throwable - the throwable