Package org.openurp.app.security.service
Class RemoteAuthorizer
- java.lang.Object
-
- org.beangle.security.authz.AbstractRoleBasedAuthorizer
-
- org.openurp.app.security.service.RemoteAuthorizer
-
- All Implemented Interfaces:
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
-
-
Constructor Summary
Constructors Constructor Description RemoteAuthorizer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.beangle.security.authz.AuthorityDomainfetchDomain()static List<org.beangle.security.authz.Authority>getResources()static Set<String>getRoots()static List<org.beangle.security.authz.Authority>toAuthorities(String resources)
-
-
-
Method Detail
-
fetchDomain
protected org.beangle.security.authz.AuthorityDomain fetchDomain()
- Specified by:
fetchDomainin classorg.beangle.security.authz.AbstractRoleBasedAuthorizer
-
getResources
public static List<org.beangle.security.authz.Authority> getResources()
-
-