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

cn.ocoop.shiro.authc.realm.resolves.delegate.SubjectResolveAware Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package cn.ocoop.shiro.authc.realm.resolves.delegate;

import cn.ocoop.shiro.subject.User;
import org.apache.shiro.authc.AuthenticationToken;

import java.util.List;

public interface SubjectResolveAware {
    Object findLoginUserInfo(String userId, boolean needBindOpenId);

    List findRoles(String userId);

    List findPermissions(String userId);

    default User unknownAccountProcess(AuthenticationToken token) {
        return null;
    }

    void bindOpenId(String userId, String mobile, String openId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy