cn.k7g.alloy.ioc.DefaultAlloyContentHandler Maven / Gradle / Ivy
package cn.k7g.alloy.ioc;
import cn.k7g.alloy.expose.AlloyContentHandler;
import java.nio.charset.StandardCharsets;
/**
* 默认的加密key实现
* @author victor-wu
* @date 2021/9/27 下午1:10
*/
public class DefaultAlloyContentHandler extends AlloyContentHandler {
@Override
public byte[] anonymousOwnerKey() {
return "1234567890123456".getBytes(StandardCharsets.UTF_8);
}
@Override
public byte[] ownerKey() {
return null;
}
@Override
public boolean isLogin() {
return false;
}
}