Created
May 8, 2017 06:36
-
-
Save AsierFox/59382659fbc695c212dfa8a0b6ee7f65 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Number of previous passwords a user cannot reuse | |
| grails.plugin.springsecurity.disallowed.password.number = 2 | |
| // Number of attemps allowed | |
| grails.plugin.springsecurity.badlogin.max.attemps = 3 | |
| // Needed in LoginController.failAuth to recover username | |
| grails.plugin.springsecurity.apf.storeLastUsername = true | |
| // Days a password is active | |
| grails.plugin.springsecurity.password.validity.days = 90 | |
| // Added by the Spring Security Core plugin: | |
| grails.plugin.springsecurity.userLookup.userDomainClassName = 'com.package.UserModel' | |
| grails.plugin.springsecurity.userLookup.authorityJoinClassName = 'com.package.UserRoleModel' | |
| grails.plugin.springsecurity.authority.className = 'com.package.RoleModel' | |
| grails.plugin.springsecurity.controllerAnnotations.staticRules = [ | |
| [pattern: '/', access: ['permitAll']], | |
| [pattern: '/error', access: ['permitAll']], | |
| [pattern: '/index', access: ['permitAll']], | |
| [pattern: '/register/**', access: ['permitAll']], | |
| [pattern: '/index.gsp', access: ['permitAll']], | |
| [pattern: '/shutdown', access: ['permitAll']], | |
| [pattern: '/assets/**', access: ['permitAll']], | |
| [pattern: '/**/js/**', access: ['permitAll']], | |
| [pattern: '/**/css/**', access: ['permitAll']], | |
| [pattern: '/**/images/**', access: ['permitAll']], | |
| [pattern: '/**/favicon.ico',access: ['permitAll']] | |
| ] | |
| grails.plugin.springsecurity.filterChain.chainMap = [ | |
| [pattern: '/assets/**', filters: 'none'], | |
| [pattern: '/**/js/**', filters: 'none'], | |
| [pattern: '/**/css/**', filters: 'none'], | |
| [pattern: '/**/images/**', filters: 'none'], | |
| [pattern: '/**/favicon.ico', filters: 'none'], | |
| [pattern: '/**', filters: 'JOINED_FILTERS'] | |
| ] | |
| grails.plugin.springsecurity.successHandler.defaultTargetUrl = "/home" | |
| grails.plugin.springsecurity.logout.postOnly = false | |
| aws { | |
| domain = "s3.amazonaws.com" | |
| accessKey = "" | |
| secretKey = "" | |
| bucketName = "repo-name" | |
| timeout = 1000000000 | |
| startDelay = 1000000000 | |
| } | |
| grails.plugin.awssdk.accessKey = "" | |
| grails.plugin.awssdk.secretKey = "" | |
| grails.plugin.awssdk.region = "eu-west-1" | |
| grails.plugin.awssdk.bucket = "repo-name" | |
| grails.controllers.upload.maxFileSize = 259129400 | |
| grails.controllers.upload.maxRequestSize = 259129400 | |
| grails { | |
| mail { | |
| host = "smtp.mandrillapp.com" | |
| port = 587 | |
| username = "[email protected]" | |
| password = "" | |
| props = ["mail.smtp.auth" : "true", | |
| "mail.smtp.starttls.enable" : "true", | |
| "mail.smtp.socketFactory.port" : "587", | |
| "mail.smtp.socketFactory.fallback": "false"] | |
| } | |
| } | |
| grails.mail.default.from = "Name Surname <[email protected]>" | |
| grails.plugin.springsecurity.ui.password.validationRegex ='^(?=.*\\d)(?=.*\\W+)(?![.\\n])(?=.*[A-Z])(?=.*[a-z]).*$' | |
| grails.plugin.springsecurity.ui.password.minLength=6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment