Skip to content

Commit

Permalink
keep default spring boot application port
Browse files Browse the repository at this point in the history
removed moved application.properties
  • Loading branch information
matthiasbalke committed Apr 7, 2017
1 parent 3672a7b commit 7cd7fdf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 94 deletions.
78 changes: 0 additions & 78 deletions budgeteer-web-interface/application.properties

This file was deleted.

32 changes: 16 additions & 16 deletions budgeteer-web-interface/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
wicket.configurationType=DEVELOPMENT

# Port on which the budgeteer web application should be served
server.port=9000
server.port=8080

# automatic database update configuration with the following possible values:
# - validate: validate the schema, makes no changes to the database.
Expand Down Expand Up @@ -51,28 +51,28 @@ spring.datasource.password=

# Keycloak configuration
# details about connecting budgeteer to keycloak are in the README
adapter.keycloak.activated = false
adapter.keycloak.activated=false

keycloak.realm = demo
keycloak.auth-server-url = http://localhost:8080/auth/
keycloak.ssl-required = external
keycloak.resource = budgeteer
keycloak.credentials.secret = 099ad387-9eaf-44f8-a573-476b58086045
keycloak.use-resource-role-mappings = false
keycloak.realm=demo
keycloak.auth-server-url=http://localhost:9000/auth/
keycloak.ssl-required=external
keycloak.resource=budgeteer
keycloak.credentials.secret=099ad387-9eaf-44f8-a573-476b58086045
keycloak.use-resource-role-mappings=false

keycloak.securityConstraints[0].securityCollections[0].name=static-resources
keycloak.securityConstraints[0].securityCollections[0].patterns[0]=/css/*
keycloak.securityConstraints[0].securityCollections[0].patterns[1]=/fonts/*
keycloak.securityConstraints[0].securityCollections[0].patterns[2]=/js/*

keycloak.securityConstraints[1].securityCollections[0].name = basic-application
keycloak.securityConstraints[1].securityCollections[0].authRoles[0] = admin
keycloak.securityConstraints[1].securityCollections[0].authRoles[1] = user
keycloak.securityConstraints[1].securityCollections[0].patterns[0] = /*
keycloak.securityConstraints[1].securityCollections[0].name=basic-application
keycloak.securityConstraints[1].securityCollections[0].authRoles[0]=admin
keycloak.securityConstraints[1].securityCollections[0].authRoles[1]=user
keycloak.securityConstraints[1].securityCollections[0].patterns[0]=/*

keycloak.securityConstraints[2].securityCollections[0].name = admin-page
keycloak.securityConstraints[2].securityCollections[0].authRoles[0] = admin
keycloak.securityConstraints[2].securityCollections[0].patterns[0] = /administration/*
keycloak.securityConstraints[2].securityCollections[0].name=admin-page
keycloak.securityConstraints[2].securityCollections[0].authRoles[0]=admin
keycloak.securityConstraints[2].securityCollections[0].patterns[0]=/administration/*

# Exclude autoconfiguration for keycloak
spring.autoconfigure.exclude=org.keycloak.adapters.springboot.KeycloakSpringBootConfiguration
spring.autoconfigure.exclude=org.keycloak.adapters.springboot.KeycloakSpringBootConfiguration

0 comments on commit 7cd7fdf

Please sign in to comment.