Class 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 Detail

      • RemoteAuthorizer

        public RemoteAuthorizer()
    • Method Detail

      • fetchDomain

        protected org.beangle.security.authz.AuthorityDomain fetchDomain()
        Specified by:
        fetchDomain in class org.beangle.security.authz.AbstractRoleBasedAuthorizer
      • getRoots

        public static Set<String> getRoots()
      • getResources

        public static List<org.beangle.security.authz.Authority> getResources()
      • toAuthorities

        public static List<org.beangle.security.authz.Authority> toAuthorities​(String resources)