top.lingkang.finalsecurity.solonplugin.config.FinalSessionObjectSolon Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of final-security-solon-plugin Show documentation
Show all versions of final-security-solon-plugin Show documentation
final-security,一个基于RBAC,专注于授权认证的轻量级框架
package top.lingkang.finalsecurity.solonplugin.config;
import org.noear.solon.core.handle.Context;
import top.lingkang.finalsecurity.common.base.FinalSessionObject;
/**
* @author lingkang
* Created by 2022/10/28
* @since 3.0.0
*/
class FinalSessionObjectSolon implements FinalSessionObject {
Context context;
@Override
public Object getAttribute(String name) {
return context.session(name);
}
@Override
public void init(Object context) {
this.context= (Context) context;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy