package com.hotent.bpmModel.conf; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import com.hotent.base.conf.WebSecurityExtend; @Configuration public class BpmModelWebSecurityExtend{ @Bean WebSecurityExtend getBpmModelExtend() { return new WebSecurityExtend() { @Override public String[] getIgnoringGetUrl() { return new String[] {"/flow/def/v1/bpmnXml"}; } }; } }