All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cloud.agileframework.conf.application-agile-security.properties Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
# \u8BA4\u8BC1\u7EC4\u4EF6\u5F00\u5173\uFF0C\u8BE5\u5F00\u5173\u4E0D\u9650\u5236\u6A21\u62DF\u8D26\u6237\u529F\u80FD
agile.security.enable=false
# \u6392\u9664\u8BA4\u8BC1\u5730\u5740
agile.security.exclude-url=${agile.kaptcha.url},/swagger-ui.html,/webjars/springfox-swagger-ui/*,/v2/api-docs,/swagger-resources/**,/api/password-find
# \u9000\u51FA\u5730\u5740
agile.security.login-out-url=/api/logout
# \u767B\u5F55\u5730\u5740
agile.security.login-url=/api/login
# \u767B\u5F55\u65F6\u524D\u7AEF\u63D0\u4EA4\u7684\u5E10\u53F7\u5C5E\u6027key
agile.security.login-username=username
# \u767B\u5F55\u65F6\u524D\u7AEF\u63D0\u4EA4\u7684\u5BC6\u7801\u5C5E\u6027key
agile.security.login-password=password
# \u9A8C\u8BC1\u7801\u4F1A\u8BDD\u4EE4\u724Ckey\uFF0C\u7528\u4E8E\u5206\u5E03\u5F0F\u9A8C\u8BC1\u7801\u652F\u6301\uFF0C\u4E00\u822C\u5B58\u4E8Ecookies
agile.security.verification-code=authCode
# \u8EAB\u4EFD\u4EE4\u724C\u8FC7\u671F\u65F6\u95F4\uFF0C\u8FC7\u671F\u4ECE\u6700\u540E\u4E00\u6B21\u670D\u52A1\u5668\u63A5\u6536\u8BF7\u6C42\u5F00\u59CB\u8BA1\u7B97
agile.security.token-timeout=30m
# \u8EAB\u4EFD\u4EE4\u724C\u5B58\u50A8key\uFF0C\u4E00\u822C\u5B58\u4E8Ecookies\u6216header\u4E2D
agile.security.token-header=authToken
# \u8EAB\u4EFD\u4EE4\u724C\u4F20\u8F93\u9014\u5F84\uFF0C\u652F\u6301cookie\u3001header\u5934\u4FE1\u606F\uFF0C\u53EF\u914D\u7F6E\u591A\u4E2A
agile.security.token-transmission-mode=cookie,header
# \u8EAB\u4EFD\u4EE4\u724C\u7B56\u7565\uFF0Ceasy\uFF08\u7B80\u5355\u65B9\u5F0F\uFF0C\u4E0D\u5237\u65B0\uFF09\uFF0Cdifficult\uFF08\u590D\u6742\u65B9\u5F0F\uFF0C\u6BCF\u6B21\u901A\u4FE1\u540E\u5237\u65B0\u8EAB\u4EFD\u4EE4\u724C\uFF09
agile.security.token-type=easy
# \u5BA2\u6237\u7AEF\u771F\u5B9EIP\uFF0C\u8BF7\u6C42\u5934\u4F20\u8F93\u53C2\u6570\u540D
agile.security.real-ip-header=X-Real-Ip
# \u5BC6\u7801\u5F3A\u5EA6
# \u5BC6\u7801\u6700\u4F4E\u5F3A\u5EA6\uFF08\u6682\u672A\u4F7F\u7528\uFF09
agile.security.password.strength=5
# \u5BC6\u7801\u6709\u6548\u671F \uFF08\u6682\u672A\u4F7F\u7528\uFF09
agile.security.password.duration=31d
# \u5BC6\u7801\u4F20\u8F93\u5BC6\u94A5 \uFF08\u6682\u672A\u4F7F\u7528\uFF09
agile.security.password.key=167223764989834
# \u5BC6\u7801\u4F20\u8F93\u504F\u79FB\u91CF \uFF08\u6682\u672A\u4F7F\u7528\uFF09
agile.security.password.offset=3612213421341234
# \u5BC6\u7801\u4F20\u8F93\u7B97\u6CD5\u6A21\u5F0F \uFF08\u6682\u672A\u4F7F\u7528\uFF09
agile.security.password.algorithm-model=AES/CBC/PKCS5Padding
# \u5BC6\u7801\u5F3A\u5EA6\u68C0\u6D4B\u914D\u7F6E
# \u5BC6\u7801\u5F3A\u5EA6\u5173\u952E\u5B57\u5339\u914D\u7B56\u7565
agile.security.password.strength-conf.weight-of-key-words=password,iloveyou,sunshine,1314,520,a1b2c3,admin
# \u5BC6\u7801\u5F3A\u5EA6\u5173\u952E\u5B57\u5339\u914D\u7B56\u7565\u6574\u4F53\u6743\u91CD
agile.security.password.strength-conf.weight-of-key-word=0.35
# \u5BC6\u7801\u5F3A\u5EA6\u6B63\u5219\u5339\u914D\u7B56\u7565\u53CA\u6743\u91CD
agile.security.password.strength-conf.weight-of-regex-map[0].regex=(?:([\\da-zA-Z])\\1{2,})
agile.security.password.strength-conf.weight-of-regex-map[0].weight=0.4
agile.security.password.strength-conf.weight-of-regex-map[1].regex=(?:([\\da-zA-Z])\\1+){2,}
agile.security.password.strength-conf.weight-of-regex-map[1].weight=0.15
agile.security.password.strength-conf.weight-of-regex-map[2].regex=([\\da-zA-Z]{2,})\\1+
agile.security.password.strength-conf.weight-of-regex-map[2].weight=0.12
agile.security.password.strength-conf.weight-of-regex-map[3].regex=((?:0(?=1)|1(?=2)|2(?=3)|3(?=4)|4(?=5)|5(?=6)|6(?=7)|7(?=8)|8(?=9)){2,}+\\d)|((?:9(?=8)|8(?=7)|7(?=6)|6(?=5)|5(?=4)|4(?=3)|3(?=2)|2(?=1)|1(?=0)){2,}+\\d)
agile.security.password.strength-conf.weight-of-regex-map[3].weight=0.2
agile.security.password.strength-conf.weight-of-regex-map[4].regex=((?:a(?=b)|b(?=c)|c(?=d)|d(?=e)|e(?=f)|f(?=g)|g(?=h)|h(?=i)|i(?=j)|j(?=k)|k(?=l)|l(?=m)|m(?=n)|n(?=o)|o(?=p)|p(?=q)|q(?=r)|r(?=s)|s(?=t)|t(?=u)|u(?=v)|v(?=w)|w(?=x)|x(?=y)|y(?=z)){2,}+[a-z])|((?:A(?=B)|B(?=C)|C(?=D)|D(?=E)|E(?=F)|F(?=G)|G(?=H)|H(?=I)|I(?=J)|J(?=K)|K(?=L)|L(?=M)|M(?=N)|N(?=O)|O(?=P)|P(?=Q)|Q(?=R)|R(?=S)|S(?=T)|T(?=U)|U(?=V)|V(?=W)|W(?=X)|X(?=Y)|Y(?=Z)){2,}+[A-Z])
agile.security.password.strength-conf.weight-of-regex-map[4].weight=0.18
agile.security.password.strength-conf.weight-of-regex-map[5].regex=((?:q(?=w)|w(?=e)|e(?=r)|r(?=t)|t(?=y)|y(?=u)|u(?=i)|i(?=o)|o(?=p)){2,}+[a-z])|((?:Q(?=W)|W(?=E)|E(?=R)|R(?=T)|T(?=Y)|Y(?=U)|U(?=I)|I(?=O)|O(?=P)){2,}+[A-Z])|((?:a(?=s)|s(?=d)|d(?=f)|f(?=g)|g(?=h)|h(?=j)|j(?=k)|k(?=l)){2,}+[a-z])|((?:A(?=S)|S(?=D)|D(?=F)|F(?=G)|G(?=H)|H(?=J)|J(?=K)|K(?=L)){2,}+[A-Z])|((?:z(?=x)|x(?=c)|c(?=v)|v(?=b)|b(?=n)|n(?=m)){2,}+[a-z])|((?:Z(?=X)|X(?=C)|C(?=V)|V(?=B)|B(?=N)|N(?=M)){2,}+[A-Z])
agile.security.password.strength-conf.weight-of-regex-map[5].weight=0.1
agile.security.password.strength-conf.weight-of-regex-map[6].regex=((((19|20)\\d{2})-(0?[13-9]|1[012])-(0?[1-9]|[12]\\d|30))|(((19|20)\\d{2})-(0?[13578]|1[02])-31)|(((19|20)\\d{2})-0?2-(0?[1-9]|1\\d|2[0-8]))|((((19|20)([13579][26]|[2468][048]|0[48]))|(2000))-0?2-29))
agile.security.password.strength-conf.weight-of-regex-map[6].weight=0.3
# \u5BC6\u7801\u5F3A\u5EA6\u6B63\u5219\u5339\u914D\u7B56\u7565\u6574\u4F53\u6743\u91CD
agile.security.password.strength-conf.weight-of-regex=0.65
# \u957F\u5EA6\u7B56\u7565\u6743\u91CD\u6700\u5927\u5F97\u5206
agile.security.password.strength-conf.max-length=32
# \u767B\u5F55\u5931\u8D25\u9650\u5236\u914D\u7F6E
# \u767B\u5F55\u5931\u8D25\u9650\u5236\u5F00\u5173
agile.security.error-sign.enable=true
# \u8FC7\u671F\u662F\u5426\u9501\u5B9A \uFF08\u6682\u672A\u4F7F\u7528\uFF09
agile.security.error-sign.lock-for-expiration=true
# \u6700\u5927\u5931\u8D25\u6B21\u6570\uFF0C\u8D85\u8FC7\u6B64\u6B21\u6570\u540E\u7684\u767B\u5F55\u884C\u4E3A\u5C06\u89E6\u53D1\u9650\u5236\u767B\u5F55
agile.security.error-sign.max-error-count=5
# \u9650\u5236\u767B\u5F55\u65F6\u95F4
agile.security.error-sign.lock-time=3m
# \u767B\u5F55\u5931\u8D25\u8BA1\u6570\u5668\u95F4\u9694
agile.security.error-sign.count-timeout=1m
# \u767B\u5F55\u5931\u8D25\u9650\u5236\u5BF9\u8C61\uFF0Cip\uFF08\u5BA2\u6237\u7AEFip\uFF09\u3001account\uFF08\u767B\u5F55\u5E10\u53F7\uFF09\u3001session_id\uFF08\u6D4F\u89C8\u5668\u4F1A\u8BDD\u6807\u8BC6\uFF09\uFF0C\u53EF\u7ED3\u5408\u4F7F\u7528\uFF0C\u4EE5\u9650\u5236\u540Cip\u4E0B\u540C\u8D26\u6237\u540C\u6D4F\u89C8\u5668\u4F1A\u8BDD\u9650\u5236\u4E3A\u4F8B
agile.security.error-sign.lock-type=account,ip,session_id
# \u8BA4\u8BC1\u7EC4\u4EF6\u7ED3\u679C\u5904\u7406\u8BF7\u6C42\u8F6C\u53D1\u5730\u5740
# \u767B\u5F55\u5931\u8D25\u3001\u6743\u9650\u9A8C\u8BC1\u5931\u8D25\u8F6C\u53D1\u5730\u5740
agile.security.fail-forward-url=/fail
# \u767B\u5F55\u6210\u529F\u8F6C\u53D1\u5730\u5740
agile.security.success-forward-url=/success
# \u9000\u51FA\u6210\u529F\u5730\u5740
agile.security.success-logout-forward-url=/logout-success
# \u6A21\u62DF\u8D26\u53F7
# \u6A21\u62DF\u8D26\u53F7json\u6570\u636E
agile.simulation.user={"username":"admin","password":"$2a$04$H5Zj6JmtZRyyrVKKMsJmO.txNXcRQNWxo5C.d0KoijnlqCbGdi0fq","enabled":true,"accountNonExpired":true,"accountNonLocked":true,"credentialsNonExpired":true,"authorities":[],"loginStrategy":"MORE"}
# \u6A21\u62DF\u8D26\u53F7\u4FE1\u606F\u6620\u5C04java\u7C7B\u578B
agile.simulation.user-class=cloud.agileframework.security.filter.login.InMemoryUserDetails
# \u6A21\u62DF\u5F00\u5173
agile.simulation.enable=false
# \u9A8C\u8BC1\u7801\uFF0C\u5176\u4F59\u9A8C\u8BC1\u7801\u914D\u7F6E\u8BF7\u53C2\u8003https://github.com/mydeathtrial/spring-boot-starter-kaptcha
agile.kaptcha.enable=false
agile.kaptcha.url=/code





© 2015 - 2024 Weber Informatics LLC | Privacy Policy