shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc G. (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SHIRO-618) Spring Boot Web Starter- Autoconfiguration for Realm and ShiroFilterChainDefinition
Date Wed, 22 Mar 2017 17:12:41 GMT
Marc G. created SHIRO-618:
-----------------------------

             Summary: Spring Boot Web Starter- Autoconfiguration for Realm and ShiroFilterChainDefinition
                 Key: SHIRO-618
                 URL: https://issues.apache.org/jira/browse/SHIRO-618
             Project: Shiro
          Issue Type: Improvement
            Reporter: Marc G.


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?




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message