Skip to content

Commit

Permalink
#91 updating cache plugin, default local server url, and filter patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushant committed Sep 7, 2022
1 parent f9ebbf6 commit c7616b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ dependencies {
compile "org.grails:grails-core"
compile "org.grails:grails-dependencies"
compile "org.grails:grails-web-boot"
compile 'org.grails.plugins:cache:4.0.0.RC1'
compile 'org.grails.plugins:cache-ehcache:3.0.0.M1'
compile "org.grails.plugins:cache"
compile "org.grails.plugins:cache-ehcache:3.0.0"
console "org.grails:grails-console"
compile "org.grails:grails-datastore-gorm:${gormVersion}"
compile 'org.grails.plugins:external-config:2.0.0'
Expand Down
6 changes: 3 additions & 3 deletions grails-app/conf/application.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import grails.util.Metadata

grails.project.groupId = 'au.org.ala'

grails.serverURL = 'https://dev.ala.org.au:8080'
grails.serverURL = 'https://localhost:8080'

ENV_NAME = "EXPERT_CONFIG"
appName = 'regions'
Expand All @@ -26,11 +26,11 @@ security {
cas {
// appServerName is automatically set from grails.serverURL

uriFilterPattern = '/alaAdmin.*'
uriFilterPattern = "/alaAdmin/*"
uriExclusionFilterPattern = '/assets/.*,/images/.*,/css/.*,/js/.*,/less/.*'

//authenticateOnlyIfLoggedInPattern requires authenticateOnlyIfLoggedInPattern to identify 'logged in' when ignoreCookie='true'
authenticateOnlyIfLoggedInPattern = '.*'
authenticateOnlyIfLoggedInPattern = '/*'
}
}

Expand Down
2 changes: 1 addition & 1 deletion grails-app/conf/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ endpoints:
unique-names: true
security:
cas:
uriFilterPattern: "/admin/*,/alaAdmin/*"
uriFilterPattern: "/alaAdmin/*"
uriExclusionFilterPattern: "/images.*,/css.*,/js.*,/less.*"
enabled: false
oidc:
Expand Down

0 comments on commit c7616b9

Please sign in to comment.