• flowable 6.6.0 去掉自带的登录权限


    1. 找到项目maven目录

    2.在自己项目里面建相同包名,类名

    package org.flowable.ui.modeler.conf; 重写ModelerSecurityConfiguration

    package org.flowable.ui.modeler.conf;
    
    import org.flowable.ui.common.security.SecurityConstants;
    import org.springframework.context.annotation.Configuration;
    import org.springframework.core.annotation.Order;
    import org.springframework.security.config.annotation.web.builders.HttpSecurity;
    import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
    import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
    import org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler;
    
    /**
     * 说明:重构ModelerSecurity
     * from:www.fhadmin.cn
     */
    @Configuration(proxyBeanMethods = false)
    @EnableWebSecurity
    public class ModelerSecurityConfiguration {
    
        @Configuration
        @Order(SecurityConstants.MODELER_API_SECURITY_ORDER)
        public static class ModelerApiWebSecurityConfigurationAdapter extends WebSecurityConfigurerAdapter {
            
            @Override
            protected void configure(HttpSecurity http) throws Exception {
                
                SavedRequestAwareAuthenticationSuccessHandler successHandler = new SavedRequestAwareAuthenticationSuccessHandler();
                successHandler.setTargetUrlParameter("redirectTo");
    
                http.headers().frameOptions().disable();
                
                http.csrf().disable().authorizeRequests().antMatchers("/**/**").permitAll().anyRequest().authenticated().and().httpBasic();
            }
    
        }
    
    }

     --------------------www.fhadmin.cn----------------------------------------------自定义表单
    28. 定义模版:拖拽左侧表单元素到右侧区域,编辑表单元素,保存表单模版
    29. 表单模版:编辑维护表单模版,复制表单模版,修改模版类型,预览表单模版
    30. 我的表单:选择表单模版,编辑表单规则,是否上传图片、附件、开启富文本、挂靠流程开关等
    31. 表单数据:从我的表单进去可增删改查表单数据,修改表单规则
    32. 挂靠记录:记录表单数据和流程实例ID关联记录,可删除

  • 相关阅读:
    回顾初心
    团队作业6(代码复审+事后诸葛亮)
    Alpha阶段项目复审(鸽牌开发小分队)
    事后诸葛亮(鸽牌开发小分队)
    团队作业5
    第七篇Scrum冲刺博客
    第六篇Scrum冲刺博客
    第五篇Scrum冲刺博客
    第四篇Scrum冲刺博客
    第三篇Scrum冲刺博客
  • 原文地址:https://www.cnblogs.com/teacher11/p/15022848.html
Copyright © 2020-2023  润新知