Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-618

Spring Boot Web Starter- Autoconfiguration for Realm and ShiroFilterChainDefinition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None
    • None

    Description

      After adding the spring-boot-web-starter you got the exception that two beans are missing.

      • Realm
      • ShiroFilterChainDefinition

      Are they not defined on purpose? Both can be provided as a default with @ConditionalOnMissingBean.

      A default TextConfigurationRealm could be configured with properties.

      Providing defaults makes it easier to get startet.

      I could provide a pull request if desired.

      What do you think?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marc-g Marc G.
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: