[keycloak-dev] [keycloak-user] [keycloak-spring-boot-adapter] disable security via application.properties file

Alexander Schwartz alexander.schwartz at gmx.net
Fri Apr 28 02:53:11 EDT 2017


This is now being tracked as KEYCLOAK-4814


Am 22.04.2017 um 09:10 schrieb Sebastien Blanc:
> Sure ! Go for it !
>
> On Fri, Apr 21, 2017 at 4:53 PM, Alexander Schwartz 
> <alexander.schwartz at gmx.net <mailto:alexander.schwartz at gmx.net>> wrote:
>
>     Hi keycloak developers,
>
>     I like this idea to be able to disable keycloak with a property. It
>     would be useful in the keycloak-spring projects that I've seen
>
>     The convention with other libraries is usually to add a property like
>
>     keycloak.enabled=false
>
>     to the spring boot configuration file and a
>
>     @ConditionalOnProperty(value = "keycloak.enabled", matchIfMissing
>     = true)
>
>     to the spring autoconfiguration.
>
>     What do you think? If this is OK-ed, I'll open a JIRA and prepare
>     a PR.
>
>     Thanks,
>     Alexander
>
>
>     Am 10.03.2017 um 16:49 schrieb Pavel Maslov:
>     > Hi all,
>     >
>     >
>     > Sometimes (for testing purposes) I need to disable keycloak security
>     >
>     > Is it possible to do so via application.properties file? Right now
>     > apart from the properties file I also have to comment out these
>     > dependencies and rebuild the project:
>     >
>     > compile 'org.keycloak:keycloak-spring-boot-adapter:2.5.1.Final'
>     > compile 'org.keycloak:keycloak-tomcat8-adapter:2.5.1.Final'
>     >
>     >
>     >
>     > Regards,
>     > Pavel Maslov, MS
>     > _______________________________________________
>     > keycloak-user mailing list
>     > keycloak-user at lists.jboss.org <mailto:keycloak-user at lists.jboss.org>
>     > https://lists.jboss.org/mailman/listinfo/keycloak-user
>     <https://lists.jboss.org/mailman/listinfo/keycloak-user>
>
>     --
>     Alexander Schwartz (alexander.schwartz at gmx.net
>     <mailto:alexander.schwartz at gmx.net>)
>     http://www.ahus1.de
>
>     _______________________________________________
>     keycloak-dev mailing list
>     keycloak-dev at lists.jboss.org <mailto:keycloak-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/keycloak-dev
>     <https://lists.jboss.org/mailman/listinfo/keycloak-dev>
>
>

-- 
Alexander Schwartz (alexander.schwartz at gmx.net)
http://www.ahus1.de



More information about the keycloak-dev mailing list