Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bpm
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王厚康
bpm
Commits
7f69841e
Commit
7f69841e
authored
Apr 02, 2019
by
Java-曹文达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面优化 解决匹配规则问题
parent
0181245f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
WebSecurityConfig.java
src/main/java/com/bbd/bpm/config/WebSecurityConfig.java
+1
-0
welcome.html
src/main/resources/templates/bpm/welcome.html
+2
-1
No files found.
src/main/java/com/bbd/bpm/config/WebSecurityConfig.java
View file @
7f69841e
...
@@ -38,6 +38,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
...
@@ -38,6 +38,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
http
.
csrf
().
disable
();
http
.
csrf
().
disable
();
http
.
authorizeRequests
().
http
.
authorizeRequests
().
antMatchers
(
"/v2/api-docs"
,
"/swagger-resources/**"
,
"/webjars/**"
).
permitAll
().
anyRequest
().
authenticated
().
antMatchers
(
"/v2/api-docs"
,
"/swagger-resources/**"
,
"/webjars/**"
).
permitAll
().
anyRequest
().
authenticated
().
and
().
headers
().
frameOptions
().
disable
().
and
().
formLogin
().
loginPage
(
"/login"
).
permitAll
().
successHandler
(
loginSuccessHandler
()).
and
().
formLogin
().
loginPage
(
"/login"
).
permitAll
().
successHandler
(
loginSuccessHandler
()).
and
().
logout
().
permitAll
().
invalidateHttpSession
(
true
).
and
().
logout
().
permitAll
().
invalidateHttpSession
(
true
).
deleteCookies
(
"JSESSIONID"
).
logoutSuccessHandler
(
logoutSuccessHandler
()).
deleteCookies
(
"JSESSIONID"
).
logoutSuccessHandler
(
logoutSuccessHandler
()).
...
...
src/main/resources/templates/bpm/welcome.html
View file @
7f69841e
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
xmlns:th=
"http://www.thymeleaf.org"
>
<html
lang=
"en"
xmlns=
"http://www.w3.org/1999/xhtml"
xmlns:th=
"http://www.thymeleaf.org"
xmlns:shiro=
"http://www.pollix.at/thymeleaf/shiro"
>
<head>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<title>
BPM后台管理系统
</title>
<title>
BPM后台管理系统
</title>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment