类 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.AuthorityDomain
     
    static List<org.beangle.security.authz.Authority>
     
    static Set<String>
     
    static List<org.beangle.security.authz.Authority>
    toAuthorities(String resources)
     

    从类继承的方法 org.beangle.security.authz.AbstractRoleBasedAuthorizer

    getScope, init, isPermitted, isPermitted, isRoot, setDomain, setRefreshSeconds, setUnknownIsProtected

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • RemoteAuthorizer

      public RemoteAuthorizer()
  • 方法详细资料

    • fetchDomain

      protected org.beangle.security.authz.AuthorityDomain fetchDomain()
      指定者:
      fetchDomain 在类中 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)