类 RemoteAuthorizer
java.lang.Object
org.beangle.security.authz.AbstractRoleBasedAuthorizer
org.openurp.app.security.service.RemoteAuthorizer
- 所有已实现的接口:
org.beangle.commons.bean.Initializing,org.beangle.security.authz.Authorizer
public class RemoteAuthorizer
extends org.beangle.security.authz.AbstractRoleBasedAuthorizer
根据REST接口查找root用户和资源
http://localhost:8080/platform/user/accounts/root.json
http://localhost:8080/platform/security/func/edu-lesson-adminapp/resources.json
-
字段概要
从类继承的字段 org.beangle.security.authz.AbstractRoleBasedAuthorizer
domain, refreshSeconds, unknownIsProtected -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected org.beangle.security.authz.AuthorityDomainstatic List<org.beangle.security.authz.Authority>getRoots()static List<org.beangle.security.authz.Authority>toAuthorities(String resources) 从类继承的方法 org.beangle.security.authz.AbstractRoleBasedAuthorizer
getScope, init, isPermitted, isPermitted, isRoot, setDomain, setRefreshSeconds, setUnknownIsProtected
-
构造器详细资料
-
RemoteAuthorizer
public RemoteAuthorizer()
-
-
方法详细资料
-
fetchDomain
protected org.beangle.security.authz.AuthorityDomain fetchDomain()- 指定者:
fetchDomain在类中org.beangle.security.authz.AbstractRoleBasedAuthorizer
-
getRoots
-
getResources
-
toAuthorities
-