Class IniSecurityManagerFactory

    • Constructor Detail

      • IniSecurityManagerFactory

        public IniSecurityManagerFactory()
        Deprecated.
        Creates a new instance. See the AbstractFactory.getInstance() JavaDoc for detailed explanation of how an INI source will be resolved to use to build the instance.
      • IniSecurityManagerFactory

        public IniSecurityManagerFactory(org.apache.shiro.config.Ini config)
        Deprecated.
      • IniSecurityManagerFactory

        public IniSecurityManagerFactory(String iniResourcePath)
        Deprecated.
    • Method Detail

      • getBeans

        public Map<String,?> getBeans()
        Deprecated.
      • destroy

        public void destroy()
        Deprecated.
      • isAutoApplyRealms

        protected boolean isAutoApplyRealms(SecurityManager securityManager)
        Deprecated.
      • createDefaults

        protected Map<String,?> createDefaults(org.apache.shiro.config.Ini ini,
                                                     org.apache.shiro.config.Ini.Section mainSection)
        Deprecated.
      • shouldImplicitlyCreateRealm

        protected boolean shouldImplicitlyCreateRealm(org.apache.shiro.config.Ini ini)
        Deprecated.
        Returns true if the Ini contains account data and a Realm should be implicitly created to reflect the account data, false if no realm should be implicitly created.
        Parameters:
        ini - the Ini instance to inspect for account data resulting in an implicitly created realm.
        Returns:
        true if the Ini contains account data and a Realm should be implicitly created to reflect the account data, false if no realm should be implicitly created.
      • createRealm

        protected Realm createRealm(org.apache.shiro.config.Ini ini)
        Deprecated.
        Creates a Realm from the Ini instance containing account data.
        Parameters:
        ini - the Ini instance from which to acquire the account data.
        Returns:
        a new Realm instance reflecting the account data discovered in the Ini.
      • getReflectionBuilder

        public org.apache.shiro.config.ReflectionBuilder getReflectionBuilder()
        Deprecated.
        Returns the ReflectionBuilder instance used to create SecurityManagers object graph.
        Returns:
        ReflectionBuilder instance used to create SecurityManagers object graph.
        Since:
        1.4
      • setReflectionBuilder

        public void setReflectionBuilder(org.apache.shiro.config.ReflectionBuilder builder)
        Deprecated.
        Sets the ReflectionBuilder that will be used to create the SecurityManager based on the contents of the Ini configuration.
        Parameters:
        builder - The ReflectionBuilder used to parse the Ini configuration.
        Since:
        1.4