blob: ca3aaade81b3a1a56e62cc08dd95e9c7273c42b4 [file]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
info:
app:
name: '@info.app.name@'
version: '@info.app.version@'
grailsVersion: '@info.app.grailsVersion@'
grails:
views:
default:
codec: html
gsp:
encoding: UTF-8
htmlcodec: xml
codecs:
expression: html
scriptlet: html
taglib: none
staticparts: none
mime:
disable:
accept:
header:
userAgents:
- Gecko
- WebKit
- Presto
- Trident
types:
all: '*/*'
atom: application/atom+xml
css: text/css
csv: text/csv
form: application/x-www-form-urlencoded
html:
- text/html
- application/xhtml+xml
js: text/javascript
json:
- application/json
- text/json
multipartForm: multipart/form-data
pdf: application/pdf
rss: application/rss+xml
text: text/plain
hal:
- application/hal+json
- application/hal+xml
xml:
- text/xml
- application/xml
dataSource:
url: jdbc:h2:mem:devDb;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
driverClassName: org.h2.Driver
username: sa
password: ''
pooled: true
jmxExport: true
dbCreate: update
hibernate:
cache:
queries: false
use_second_level_cache: false
use_query_cache: false
---
grails:
mail:
default:
from: do.not.reply@server.com
host: localhost
port: 1025
---
grails:
plugin:
springsecurity:
filterChain:
chainMap:
-
pattern: /assets/**
filters: none
-
pattern: /**/favicon.ico
filters: none
-
pattern: /**/css/**
filters: none
-
pattern: /**/images/**
filters: none
-
pattern: /**/js/**
filters: none
-
pattern: /**
filters: JOINED_FILTERS
secureChannel:
definition:
-
pattern: /testsecure/**
access: REQUIRES_SECURE_CHANNEL
-
pattern: /testinsecure/**
access: REQUIRES_INSECURE_CHANNEL
-
pattern: /testany/**
access: ANY_CHANNEL
authority:
className: test.Role
cacheUsers: true
rememberMe:
persistent: false
persistentToken:
domainClassName: test.PersistentToken
requestMap:
className: test.Requestmap
securityConfigType: Requestmap
userLookup:
authorityJoinClassName: test.UserRole
userDomainClassName: test.User
useSwitchUserFilter: true