Shiro
  1. Shiro
  2. SHIRO-223

TextConfigurationRealm does not initialize [patch included]

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: Integration: Spring
    • Labels:
      None

      Description

      Since TextConfigurationRealm is not abstract and fully functional it can be used in a spring enviroment, initialized by LifecycleBeanPostProcessor.

        Issue Links

          Activity

          Hide
          manthos added a comment -

          similar scope like SHIRO-222

          Show
          manthos added a comment - similar scope like SHIRO-222
          Hide
          Sergiy Shyrkov added a comment -

          We are using TextConfigurationRealm in our Spring-based project and are also concerned about this issue. I've voted for it.
          Thank you in advance!

          Show
          Sergiy Shyrkov added a comment - We are using TextConfigurationRealm in our Spring-based project and are also concerned about this issue. I've voted for it. Thank you in advance!
          Hide
          manthos added a comment -

          until solved you can manually add init-method into spring config

          <bean class="org.apache.shiro.realm.text.TextConfigurationRealm" init-method="processDefinitions">
          ....
          </bean>

          Show
          manthos added a comment - until solved you can manually add init-method into spring config <bean class="org.apache.shiro.realm.text.TextConfigurationRealm" init-method="processDefinitions"> .... </bean>
          Hide
          Les Hazlewood added a comment -

          Fix applied. Thanks for the patch!

          Show
          Les Hazlewood added a comment - Fix applied. Thanks for the patch!
          Hide
          Les Hazlewood added a comment -

          Closing with the 1.2.0 release.

          Show
          Les Hazlewood added a comment - Closing with the 1.2.0 release.

            People

            • Assignee:
              Unassigned
              Reporter:
              manthos
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development