Class RemoteAuthorizer
java.lang.Object
org.beangle.security.authz.AbstractRoleBasedAuthorizer
org.beangle.ems.app.security.service.RemoteAuthorizer
- All Implemented Interfaces:
org.beangle.commons.bean.Initializing,Authorizer
根据REST接口查找root用户和资源
http://localhost:8080/platform/user/accounts/root.json
http://localhost:8080/platform/security/func/edu-lesson-adminapp/resources.json
-
Field Summary
Fields inherited from class org.beangle.security.authz.AbstractRoleBasedAuthorizer
domain, refreshSeconds, unknownIsProtected -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AuthorityDomaingetRoots()toAuthorities(String resources) Methods inherited from class org.beangle.security.authz.AbstractRoleBasedAuthorizer
getScope, init, isPermitted, isPermitted, isRoot, setDomain, setRefreshSeconds, setUnknownIsProtected
-
Constructor Details
-
RemoteAuthorizer
public RemoteAuthorizer()
-
-
Method Details
-
fetchDomain
- Specified by:
fetchDomainin classAbstractRoleBasedAuthorizer
-
getRoots
-
getResources
-
toAuthorities
-