diff --git a/grails-app/conf/DefaultSamlSecurityConfig.groovy b/grails-app/conf/DefaultSamlSecurityConfig.groovy deleted file mode 100644 index 648b8f9..0000000 --- a/grails-app/conf/DefaultSamlSecurityConfig.groovy +++ /dev/null @@ -1,39 +0,0 @@ -security { - saml { - userAttributeMappings = [:] - active = true - afterLoginUrl = '/' - afterLogoutUrl = '/' - userGroupAttribute = "memberOf" - responseSkew = 60 - autoCreate { - active = false - key = 'username' - assignAuthorities = true - } - metadata { - defaultIdp = 'ping' - url = '/saml/metadata' - providers = [ ping :'security/idp-local.xml'] - sp { - file = 'security/sp.xml' - defaults = [ - local: true, - alias: 'test', - securityProfile: 'metaiop', - signingKey: 'ping', - encryptionKey: 'ping', - tlsKey: 'ping', - requireArtifactResolveSigned: false, - requireLogoutRequestSigned: false, - requireLogoutResponseSigned: false ] - } - } - keyManager { - storeFile = 'classpath:security/keystore.jks' - storePass = 'nalle123' - passwords = [ ping: 'ping123' ] - defaultKey = 'ping' - } - } -} \ No newline at end of file diff --git a/grails-app/conf/plugin.yml b/grails-app/conf/plugin.yml new file mode 100644 index 0000000..5bac87c --- /dev/null +++ b/grails-app/conf/plugin.yml @@ -0,0 +1,38 @@ +grails: + plugin: + springsecurity: + saml: + userAttributeMappings: {} + active: true + afterLoginUrl: '/' + afterLogoutUrl: '/' + userGroupAttribute: 'memberOf' + responseSkew: 60 + autoCreate: + active: false + key: 'username' + assignAuthorities: true + metadata: + timeout: 5000 + defaultIdp: 'ping' + url: '/saml/metadata' + providers: + ping: 'security/idp-local.xml' + sp: + file: 'security/sp.xml' + defaults: + local: true + alias: 'test' + securityProfile: 'metaiop' + signingKey: 'ping' + encryptionKey: 'ping' + tlsKey: 'ping' + requireArtifactResolveSigned: false + requireLogoutRequestSigned: false + requireLogoutResponseSigned: false + keyManager: + storeFile: 'classpath:security/keystore.jks' + storePass: 'nalle123' + passwords: + ping: 'ping123' + defaultKey: 'ping'