当前位置: 首页 > news >正文

网站地图制作wordpress修改注册邮件内容

网站地图制作,wordpress修改注册邮件内容,孝感市门户,广州开发公司接上一篇#xff1a;快速开发工作流_02_集成在线流程设计器 https://gblfy.blog.csdn.net/article/details/103676784 文章目录八、内置用户免登录8.1. 定位url-config.js8.2. 替换url8.3. 添加配置类AdminRemoteAccountResource8.4. 启动类排除权限校验8.5. 码云地址八、内置… 接上一篇快速开发工作流_02_集成在线流程设计器 https://gblfy.blog.csdn.net/article/details/103676784 文章目录八、内置用户免登录8.1. 定位url-config.js8.2. 替换url8.3. 添加配置类AdminRemoteAccountResource8.4. 启动类排除权限校验8.5. 码云地址八、内置用户免登录 8.1. 定位url-config.js springboot-flowable-modeler\flowable\src\main\resources\static\scripts\configuration\url-config.js 8.2. 替换url 将 return FLOWABLE.CONFIG.contextRoot /app/rest/account;替换为 return FLOWABLE.CONFIG.contextRoot /admin/rest/account;8.3. 添加配置类AdminRemoteAccountResource package com.gblfy.flowable.controller;import org.flowable.idm.api.User; import org.flowable.idm.engine.impl.persistence.entity.UserEntityImpl; import org.flowable.ui.common.model.UserRepresentation; import org.flowable.ui.common.security.SecurityUtils; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController;import java.util.ArrayList; import java.util.List;/*** author gblfy* ClassNme AdminRemoteAccountResource* Description 实现内置admin用户免登陆* Date 2019/11/10 15:13* version1.0*/ RestController RequestMapping(/admin) public class AdminRemoteAccountResource {/*** GET /rest/account - get the current user.*/RequestMapping(value /rest/account, method RequestMethod.GET, produces application/json)public UserRepresentation getAccount() {User usernew UserEntityImpl();user.setId(admin);SecurityUtils.assumeUser(user);UserRepresentation userRepresentation new UserRepresentation();userRepresentation.setId(admin);userRepresentation.setFirstName(admin);ListString privilegesnew ArrayList();privileges.add(flowable-idm);privileges.add(flowable-modeler);privileges.add(flowable-task);userRepresentation.setPrivileges(privileges);return userRepresentation;} }8.4. 启动类排除权限校验 package com.gblfy.flowable;import com.gblfy.flowable.config.ApplicationConfiguration; import com.gblfy.flowable.servlet.AppDispatcherServletConfiguration; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Import; import org.springframework.transaction.annotation.EnableTransactionManagement;Import({ApplicationConfiguration.class,AppDispatcherServletConfiguration.class }) ComponentScan(basePackages {com.gblfy.flowable}) EnableTransactionManagement SpringBootApplication(exclude {SecurityAutoConfiguration.class}) //SpringBootApplication public class FlowableApplication {public static void main(String[] args) {SpringApplication.run(FlowableApplication.class, args);}}8.5. 码云地址 https://gitee.com/gb_90/springboot-flowable-modeler
http://www.sadfv.cn/news/68376/

相关文章:

  • 做地方网站赚钱吗wordpress 创建 rss
  • 无锡定制公司网站广州网页定制多少钱
  • 深圳自适应网站设计做校园网站的公司
  • 伍壹捌网站建设网页制作面试自我介绍
  • 自学手机网站开发视频推广平台有哪些
  • 诸暨哪些公司可以制作网站黄桃图片友情链接
  • seo网站优化推广怎么做上海优化seo公司
  • 给非法公司做网站维护公司邮箱怎么弄
  • 中国建设人才服务信息网官网网站seo优化综合服务公司哪家好
  • 软件平台开发公司seo排名优化工具
  • 海口网站开发师招聘淘宝官网首页入口
  • 网站制作相关知识腾讯云域名购买
  • wordpress网站设置关键词腾讯企点官网下载
  • 福建省建设局实名制网站品牌推广策略案例
  • 公司网站建设方案书怎么写lnmp wordpress 树莓派
  • 做网站和软件的团队网站怎么做充值系统
  • 建设网站花都区广平手机网站建设
  • 电影微网站开发网络营销导向型企业网站建设的原则
  • 山西省建设厅网站首页广西网站制作
  • 加强学科网站建设口碑好的扬州网站建设
  • 建站论坛内蒙古网站建设电话
  • 做蓝牙app的网站教育机构电商网站建设加盟
  • 深圳 网站建设公司网站建设捌金手指花总二七
  • 交换友情链接的网站标准是什么萧涵wordpress主题
  • 网站建设状态栏济南网站建设力推搜点网络ok
  • 建设酒店网站ppt云南网站建
  • wps的ppt做网站超链接网站制作公司要文化建设费
  • 建网站什么框架弹窗广告投放平台
  • 山西智能网站建设制作dede网站本地访问速度慢
  • 山西电力建设三公司网站h5网站开发培训机构