Class ModularRealmAuthorizer

    • Field Detail

      • realms

        protected Collection<Realm> realms
        The realms to consult during any authorization check.
      • permissionResolver

        protected PermissionResolver permissionResolver
        A PermissionResolver to be used by all configured realms. Leave null if you wish to configure different resolvers for different realms.
      • rolePermissionResolver

        protected RolePermissionResolver rolePermissionResolver
        A RolePermissionResolver to be used by all configured realms. Leave null if you wish to configure different resolvers for different realms.
    • Constructor Detail

      • ModularRealmAuthorizer

        public ModularRealmAuthorizer()
        Default no-argument constructor, does nothing.
      • ModularRealmAuthorizer

        public ModularRealmAuthorizer(Collection<Realm> realms)
        Constructor that accepts the Realms to consult during an authorization check. Immediately calls setRealms(realms).
        Parameters:
        realms - the realms to consult during an authorization check.