配置内容分析如下 
# -- 定义上下文使用者 -- 
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

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

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

    文件内容如下 unique.instanceId=ofbiz1     #--为JobManger方法提供实例的ID(必须小于20个字符)    currency.uom.id.default=USD ...

  2. SpringBoot01 InteliJ IDEA安装、Maven配置、创建SpringBoot项目、yml属性配置、多环境配置、自定义properties配置

    1 IntelliJ IDEA 安装 下载地址:点击前往 注意:需要下载专业版本的,注册码在网上随便搜一个就行啦 2 MAVEN工具的安装 2.1 获取安装包 下载地址:点击前往 2.2 安装过程 到 ...

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

    一般使用ofbiz做后台管理的时候,多数会使用ofbiz的form去做后台.下面我就总结下我在使用form的时候的一些总结与问题吧. 1.首先,我们看如何使用最简单form去查询某个单个的对象,并对其 ...

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

    本文地址:http://blog.csdn.net/sushengmiyan/article/details/39078627 sencha官方API:http://docs.sencha.com/e ...

  5. hystrix(4) properties配置

    这一节我们来讲hystrix的properties配置体系,properties配置也是各个功能模块的基础功能.hystrix将配置分成三个部分: 1.HystrixCommandProperties ...

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

    首先要说的是,学习ofbiz,要去http://ofbiz.apache.org/官网里面,去看右边菜单里   Management Apps  的例子,然后找到类似的页面,去看调用的源码方法. co ...

  7. 第九节: 利用RemoteScheduler实现Sheduler的远程控制 第八节: Quartz.Net五大构件之SimpleThreadPool及其四种配置方案 第六节: 六类Calander处理六种不同的时间场景 第五节: Quartz.Net五大构件之Trigger的四大触发类 第三节: Quartz.Net五大构件之Scheduler(创建、封装、基本方法等)和Job(创建、关联

    第九节: 利用RemoteScheduler实现Sheduler的远程控制   一. RemoteScheduler远程控制 1. 背景: 在A服务器上部署了一个Scheduler,我们想在B服务器上 ...

  8. 第四百一十六节,Tensorflow简介与安装

    第四百一十六节,Tensorflow简介与安装 TensorFlow是什么 Tensorflow是一个Google开发的第二代机器学习系统,克服了第一代系统DistBelief仅能开发神经网络算法.难 ...

  9. 第四百零六节,自定义用户表类来继承Django的用户表类,

    第四百零六节,自定义用户表类来继承Django的用户表类, models.py from django.db import models # Create your models here. from ...

随机推荐

  1. 【转】Mysql中的排序规则utf8_unicode_ci、utf8_general_ci的区别总结

    Mysql中utf8_general_ci与utf8_unicode_ci有什么区别呢?在编程语言中,通常用unicode对中文字符做处理,防止出现乱码,那么在MySQL里,为什么大家都使用utf8_ ...

  2. CSS3学习(CSS3过渡、CSS3动画)

    CSS3过渡:transition属性--专门应对颜色.长度.宽度.位置等变化的过渡 通过CSS3,我们可以在不使用Flash和JavaScript的情况下,为当前某元素从某样式改变为某样式的时候添加 ...

  3. Mongo命令行中执行CRUD

    在命令行中使用mongo自带的shell命令来执行CRUD操作 首先链接到数据库 增 db.qiao.insert({"qq":1}) db.qiao.save({"qq ...

  4. 桌面应用程序ClickOne打包部署

    http://www.cnblogs.com/weixing/p/3358740.html

  5. C++控制程序只运行一个实例

    int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { ...

  6. 转NodeJS的npm模块版本号 模式解析

    npm 中的模块版本都需要遵循 semver 2.0 的语义化版本规则. 版本格式:主版本号.次版本号.修订号,版本号递增规则如下: 主版本号:当你做了不兼容的API 修改, 次版本号:当你做了向下兼 ...

  7. 设计模式:单例模式(Singleton)

    定义:确保一个类仅有一个实例,并提供一个访问它的全局访问点. 优点:在内存中只有一个对象,节省了内存空间 示例: Singleton.cs 写法一:非线程安全 public class Singlet ...

  8. HTTP访问的两种方式(HttpClient+HttpURLConnection)整合汇总对比

    HttpClient: HttpClient是Apache Jakarta Common下的子项目,用来提供高效的.最新的.功能丰富的支持HTTP协议的客户端编程工具包,并且它支持HTTP协议最新的版 ...

  9. spring.net使用

    1.方法 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Sys ...

  10. Spring中的@response和@request注解

    @response 标注对象返回的格式为json文本 @requestBody将json对象转换为对应的java类