ofbiz进击 第六节。 --OFBiz配置之[widget.properties] 配置属性的分析

配置内容分析如下 
# -- 定义上下文使用者 -- 
security.context =default 
# -- 定义密码限制长度最小值 -- 
password.length.min =5 
# -- 登录失败的最大次数 -- 
max.failed.logins =3 
# -- 保存密码修改记录的最大条数, 被保存在 UserLoginPasswordHistory 表的记录 
#           可防止使用过的密码再次使用, 0 表示不保存历史记录 -- 
password.change.history.limit =0 
# -- 多长时间后禁用该用户, 若为0则不禁用 -- 
login.disable.minutes =5 
# -- 禁用全局注销 -- 
login.disable.global.logout =false 
# -- 保存每次登录的历史记录; 保存服务访问权限的校验记录; 保存不正确的登陆密码; -- 
store.login.history =true 
store.login.history.on.service.auth =false 
store.login.history.incorrect.password =true 
# -- 是否进行密码加密 -- 
password.encrypt =true 
# -- set requirePasswordChange to true, after emailPassword -- 
password.email_password.require_password_change =true 
# -- 设置密码加密方式 java.security.MessageDigest.getInstance() -- 
# -- options may include: SHA, MD5, etc 
password.encrypt.hash.type =SHA 
# -- this is helpful to recover old accounts or to be able to login at all sometimes -- 
# -- SHOULD GENERALLY NOT BE TRUE FOR PRODUCTION SITES,  
#          but is useful for interim periods when going to password encryption -- 
password.accept.encrypted.and.plain =false 
# -- 登录用户名和密码进行全小写处理开关 -- 
username.lowercase =false 
password.lowercase =false 
# -- 使用 LDAP 进行权限认证 -- 
security.ldap.enable =false 
# -- LDAP登录失败, 是否重新登录 -- 
security.ldap.fail.login =false 
# -- 是否允许 X509 证书登录 
security.login.cert.allow =true 
# -- HTTP 报文头 基础ID (for integrations; uncomment to enable) 
#security.login.http.header =REMOTE_USER 
# -- HttpServletRequest.getRemoteUser() based ID (for integration; uncomment to enable) 
# Use for external authentication solutions like CAS which overload the getRemoteUser method. 
# security.login.http.servlet.remoteuserlogin.allow =true 
# -- pattern for the userlogin id in CN section of certificate 
security.login.cert.pattern =^(\\w*\\s?\\w*)\\W*.*$ 
# -- 邮箱验证信息过期时间默认为 x 小时(EmailAdressVerification) 
email_verification.expire.hours =48 
# -- Name of the protect-view preprocessor method (this should not change, but in case...) 
protect-view.preprocessor =java.org.ofbiz.webapp.control.ProtectViewWorker.checkProtectedView 
# -- Name of the default error response view for protected views  
#      ("none:" will be rendered as a blank page, see RequestHandler.java) 
# default.error.response.view =none: 
default.error.response.view =view:viewBlocked

时间: 2024-07-31 05:10:54

ofbiz进击 第六节。 --OFBiz配置之[widget.properties] 配置属性的分析的相关文章

ofbiz进击 第五节。 --OFBiz配置之[general.properties] 共有属性的分析(含email)

文件内容如下 unique.instanceId=ofbiz1     #--为JobManger方法提供实例的ID(必须小于20个字符)    currency.uom.id.default=USD     #--设置默认的金额显示_货币//缺省货币符号(必须在Uom表中存在,用3个西文字符表示)    currency.decimal.format=#,##0.00     #--设置默认的金额显示_货币的格式(格式化: UtilFormatOut.java)    VISUAL_THEME

ofbiz进击 第四节。 我的form之旅

一般使用ofbiz做后台管理的时候,多数会使用ofbiz的form去做后台.下面我就总结下我在使用form的时候的一些总结与问题吧. 1.首先,我们看如何使用最简单form去查询某个单个的对象,并对其进行显示. 如下: < form name= "returnHeaderReason" type = "single" default-map-name ="returnHeader" > <actions > <ent

[ExtJS5学习笔记]第十六节 Extjs5使用panel新增的ViewModel属性绑定数据

本文地址:http://blog.csdn.net/sushengmiyan/article/details/39078627 sencha官方API:http://docs.sencha.com/extjs/5.0/apidocs/#!/api/Ext.panel.Panel-cfg-viewModel 本文作者:sushengmiyan ------------------------------------------------------------------------------

ofbiz进击 第二节。 control 理解与创建

首先要说的是,学习ofbiz,要去http://ofbiz.apache.org/官网里面,去看右边菜单里   Management Apps  的例子,然后找到类似的页面,去看调用的源码方法. contoller里面定义了url的action 跳转,类似structs的功能. <request-map uri="EditQuoteTermItem"> <security auth="true" https="true"/>

centos mysql 实战 第六节课 字符集

centos mysql 实战 第六节课    字符集 一定要研究清楚mysql安装脚本 字符集 乱码数据迁移1. 理解字符集怎么会事2. 不同的字符集进行转换 什么是字符集gbk , utf8 gb2312 latin1 一套符号编码规则 字符串都必须有相应的字符集,除了二进制没有字符集 校验字符集的概念流式传输 多字节latin1 单字节gbk 2字节utf8 3字节校验字符集的概念, 字为单位归类的方法,就是3类xxx_bin 以二进制形式存储区分大小写 SHOW CHARACTER SE

[ExtJS学习笔记]第六节 Extjs的类系统Class System命名规则及定义和调试

本文地址: http://blog.csdn.net/sushengmiyan/article/details/38479079 本文作者:sushengmiyan -------------------------------------------------------------资源链接----------------------------------------------------------------------- 翻译来源  Sencha Cmd官方网站:    http:

CUDA:Supercomputing for the Masses (用于大量数据的超级计算)-第六节

原文链接 第六节:全局内存和CUDA RPOFILER  Rob Farber 是西北太平洋国家实验室(Pacific Northwest National Laboratory)的高级科研人员.他在多个国家级的实验室进行大型并行运算的研究,并且是几个新创企业的合伙人.大家可以发邮件到[email protected]与他沟通和交流. 在关于CUDA(Compute Unified DeviceArchitecture,即计算统一设备架构的简称)的系列文章的第二节,我探讨了内存性能和在rever

Linux学习第六节课-用户、组合权限

Linux学习第六节课 ---------------------------------------------------------------------------------------------------------------------------------------------------------------- 三十四.安全3A 认证Authentication 授权Authorization 审计Accounting 三十五.用户和组的配置文件 /etc/pas

第三百一十六节,Django框架,中间件

第三百一十六节,Django框架,中间件 django 中的中间件(middleware),在django中,中间件其实就是一个类,在请求到来和结束后,django会根据自己的规则在合适的时机执行中间件中相应的方法. 在django项目的settings模块中,有一个 MIDDLEWARE变量,其中每一个元素就是一个中间件(也就是一个中间件模块的一个类),如下. settings模块中 #中间件 MIDDLEWARE = [ 'django.middleware.security.Securit