Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- hibernate:
- cache:
- queries: false
- use_second_level_cache: true
- use_query_cache: false
- region.factory_class: 'org.hibernate.cache.ehcache.EhCacheRegionFactory'
- dataSource:
- pooled: true
- jmxExport: true
- driverClassName: org.postgresql.Driver
- username: postgres
- password: postgres
- environments:
- development:
- ldapServers:
- d1:
- base: dc=stuba,dc=sk
- port: 10389
- grails.plugin.springsecurity.ldap.context.server: ldap://localhost:10389
- dataSource:
- dbCreate: create
- url: jdbc:postgresql://localhost:5432/dpfe
- rabbitmq:
- connections:
- defaultConnection:
- host: localhost
- username: guest
- password: guest
- test:
- dataSource:
- dbCreate: update
- url: jdbc:postgresql://localhost:5432/dpfe
- production:
- dataSource:
- dbCreate: update
- url: jdbc:postgresql://localhost:5432/dpfe
- properties:
- jmxEnabled: true
- initialSize: 5
- maxActive: 50
- minIdle: 5
- maxIdle: 25
- maxWait: 10000
- maxAge: 600000
- timeBetweenEvictionRunsMillis: 5000
- minEvictableIdleTimeMillis: 60000
- validationQuery: SELECT 1
- validationQueryTimeout: 3
- validationInterval: 15000
- testOnBorrow: true
- testWhileIdle: true
- testOnReturn: false
- jdbcInterceptors: ConnectionState
- defaultTransactionIsolation: 2 # TRANSACTION_READ_COMMITTED
- ---
- ---
- grails:
- profile: rest-api
- codegen:
- defaultPackage: sk.stuba.fei.dp
- spring:
- transactionManagement:
- proxies: false
- info:
- app:
- name: '@info.app.name@'
- version: '@info.app.version@'
- grailsVersion: '@info.app.grailsVersion@'
- spring:
- groovy:
- template:
- check-template-location: false
- ---
- grails:
- 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
- rss: application/rss+xml
- text: text/plain
- hal:
- - application/hal+json
- - application/hal+xml
- xml:
- - text/xml
- - application/xml
- urlmapping:
- cache:
- maxsize: 1000
- controllers:
- defaultScope: singleton
- converters:
- encoding: UTF-8
- databinding.dateFormats:
- - "d.M.yyyy H:mm:ss"
- resources.pattern: '/**'
- plugin:
- quartz.jdbcStore: false
- springsecurity:
- userLookup.userDomainClassName: 'sk.stuba.fei.dp.User'
- rest.token.storage.gorm.tokenDomainClassName: 'sk.stuba.fei.dp.AuthenticationToken'
- providerNames: ['ldapAuthProvider']
- ldap:
- context:
- server: ldaps://ldap.stuba.sk:636
- anonymousReadOnly: true
- authorities:
- groupSearchBase: ou=People, DC=stuba, DC=sk
- retrieveGroupRoles: true
- attributesToReturn:
- - employeetype
- - cn
- - uisid
- search:
- filter: uid={0}
- base: ou=People,dc=stuba,dc=sk
- filterChain.chainMap:
- #Stateless chain
- - {pattern: '/api/**',filters: 'JOINED_FILTERS,-anonymousAuthenticationFilter,-exceptionTranslationFilter,-authenticationProcessingFilter,-securityContextPersistenceFilter,-rememberMeAuthenticationFilter'}
- #Traditional chain
- - {pattern: '/**', filters: 'none'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement