Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated redis and jesque config

  • Loading branch information...
commit f46ac01d5e553d3e286bef3b4d72dead0463fac4 1 parent 2eacfd1
@jetztgradnet authored
Showing with 14 additions and 6 deletions.
  1. +14 −6 grails-app/conf/Config.groovy
View
20 grails-app/conf/Config.groovy
@@ -64,6 +64,8 @@ grails.hibernate.cache.queries = true
environments {
development {
grails.logging.jul.usebridge = true
+ grails.dbconsole.enabled = true
+ grails.dbconsole.urlRoot = '/admin/dbconsole'
}
production {
grails.logging.jul.usebridge = false
@@ -94,18 +96,22 @@ log4j = {
debug 'org.springframework.security'
}
+//////////////////////////////////////////////////////////////////////
+//jesque.views.layout='bootstrap'
+
+//////////////////////////////////////////////////////////////////////
// Added by the Spring Security Core plugin:
grails.plugins.springsecurity.userLookup.userDomainClassName = 'net.jetztgrad.aldente.User'
grails.plugins.springsecurity.userLookup.authorityJoinClassName = 'net.jetztgrad.aldente.UserRole'
grails.plugins.springsecurity.authority.className = 'net.jetztgrad.aldente.Role'
-
+//////////////////////////////////////////////////////////////////////
// LDAP config
grails.plugins.springsecurity.ldap.authorities.ignorePartialResultException = true // typically needed for Active Directory
grails.plugins.springsecurity.ldap.search.filter="sAMAccountName={0}" // for Active Directory you need this
grails.plugins.springsecurity.ldap.search.searchSubtree = true
grails.plugins.springsecurity.ldap.auth.hideUserNotFoundExceptions = false
-grails.plugins.springsecurity.ldap.search.attributesToReturn = ['mail', 'displayName'] // extra attributes you want returned; see below for custom classes that access this data
+grails.plugins.springsecurity.ldap.search.attributesToReturn = ['mail', 'displayName', 'sn', 'givenName', 'cn', 'name'] // extra attributes you want returned; see below for custom classes that access this data
grails.plugins.springsecurity.providerNames = ['ldapAuthProvider', 'anonymousAuthenticationProvider'] // specify this when you want to skip attempting to load from db and only use LDAP
// role-specific LDAP config
grails.plugins.springsecurity.ldap.useRememberMe = false
@@ -114,15 +120,17 @@ grails.plugins.springsecurity.ldap.authorities.groupSearchFilter = 'member={0}'
//////////////////////////////////////////////////////////////////////
// redis configuration
+
grails {
redis {
- poolConfig {
- // jedis pool specific tweaks here, see jedis docs & src
+ //poolConfig {
+ // // jedis pool specific tweaks here, see jedis docs & src
// ex: testWhileIdle = true
- }
+ //}
+ pooled = true
port = 6379
host = "localhost"
- timeout = 2000 //default in milliseconds
+ timeout = 5000 //default in milliseconds
//password = "somepassword" //defaults to no password
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.