All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.lingkang.finalsecurity.solonplugin.config.FinalSessionObjectSolon Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
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