来源:自学PHP网 时间:2015-04-17 11:59 作者: 阅读:次
[导读] 1、spring-security-core2、spring-security-ui3、famfamfam、mail、jquery-ui、jquery、webxml4、cal-client修改spring-security-ui中UserController和RegisterController中关于password加密的那部分添加以下参......
1、spring-security-core 2、spring-security-ui 3、famfamfam、mail、jquery-ui、jquery、webxml 4、cal-client 修改spring-security-ui中UserController和RegisterController中关于password加密的那部分 添加以下参数至config.groovy grails.plugins.springsecurity.userLookup.userDomainClassName = 'pk0.SecUser' grails.plugins.springsecurity.userLookup.authorityJoinClassName = 'pk0.SecUserSecRole' grails.plugins.springsecurity.authority.className = 'pk0.SecRole' grails.plugins.springsecurity.securityConfigType = "Requestmap" grails.plugins.springsecurity.requestMap.className = 'pk0.Requestmap'
cas { urlPattern = '/*' // urlPattern = ['/oneurl/*', '/another', '/anotheranother/*'] disabled = false } environments { development { cas.loginUrl = 'https://localhost:8443/cas-server-webapp-3.4.12/login' cas.validateUrl = 'https://localhost:8443/cas-server-webapp-3.4.12/serviceValidate' cas.serverName = 'localhost:8080' //cas.serviceUrl = 'http://localhost:8080/SecAndCas' cas.disabled = false cas.mocking = true } test { cas.loginUrl = 'https://test.casserver.demo.com/cas/login' cas.validateUrl = 'https://test.cas.com/cas/serviceValidate' cas.serverName = 'test.casclient.demo.com:80' // cas.serviceUrl = 'http://test.casclient.demo.com/access' } production { cas.loginUrl = 'https://prod.casserver.demo.com/cas/login' cas.validateUrl = 'https://prod.casserver.demo.com/cas/serviceValidate' cas.serverName = 'prod.casclient.demo.com:80' // cas.serviceUrl = 'http://prod.casclient.demo.com/access' } } tomcat ssl配置 修改spring-security-core插件中关于鉴权部分(接上cas认证结果) |
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com