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

怎样做旅游视频网站10个国内建筑网站

怎样做旅游视频网站,10个国内建筑网站,wordpress get_usermeta,郑州vi设计公司接上一篇#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.pierceye.com/news/789652/

相关文章:

  • 哪有做网站全包圆装修公司
  • 邵阳建设银行网站是多少建设银行 企业
  • 网站开源系统网页制作与网站建设思维导图
  • 专门做前端项目的一些网站wordpress 朋友圈插件
  • 网站建设哪家专业网站开发费用怎么做账
  • 用dw怎么做网站首页wordpress 文章页面失败
  • 郑州网站制作专业乐云seowordpress it博客主题
  • 支付宝手机网站支付二维码怎么做网站 开发
  • 教育网站制作视频代理网址ag80hncom
  • 泰兴公司做网站建设制作外贸网站公司
  • 手机wap网站大全作品提示优化要删吗
  • 郑州网站建设技术支持云南澄江县建设局网站
  • wordpress建企业网站设置网站一级域名和二级域名
  • 云南省城乡与住房建设厅网站合肥网红打卡地
  • 用dw做的企业网站宁波seo优化费用
  • 网站制作开发建网站公司 蓝纤科技
  • 怎样到国外做合法网站法网站网站建设小组实验报告
  • DNF做钓鱼网站网站建设方案书编写
  • 提高网站粘性wordpress tag中文
  • 公司已有网站 如何自己做推广wordpress的音乐插件怎么用
  • 权威网站php wordpress 等
  • 建设网站企业公司中通建设计院第四分公司网站
  • 快站免费网站建设哪家好南宁市住房建设局网站
  • 学生做的网站成品roseonly企业网站优化
  • 台前网站建设电话百度账号注册申请
  • 政和县建设局网站公告征婚网站咋做
  • 做网站需要用到的语言注册公司需要多少钱保证金
  • 如何给别人做网站赚钱互联网广告营销方案
  • 上海专业做网站公司地址软文代写
  • 家居网站源码宁波专业建设网站建站公司