Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
d30b81bc
Commit
d30b81bc
authored
Oct 18, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] add permitAll for leave controller
parent
1cd57714
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
LeaveController.java
...ain/java/pwc/taxtech/atms/controller/LeaveController.java
+1
-1
applicationContext-security.xml
atms-api/src/main/resources/applicationContext-security.xml
+1
-0
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/LeaveController.java
View file @
d30b81bc
...
@@ -20,7 +20,7 @@ import java.util.List;
...
@@ -20,7 +20,7 @@ import java.util.List;
import
java.util.Map
;
import
java.util.Map
;
@RestController
@RestController
@RequestMapping
(
value
=
"/leave"
)
@RequestMapping
(
value
=
"/
api/v1/
leave"
)
public
class
LeaveController
{
public
class
LeaveController
{
private
static
Logger
logger
=
LoggerFactory
.
getLogger
(
LeaveController
.
class
);
private
static
Logger
logger
=
LoggerFactory
.
getLogger
(
LeaveController
.
class
);
@Autowired
@Autowired
...
...
atms-api/src/main/resources/applicationContext-security.xml
View file @
d30b81bc
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<!-- https://springcloud.cc/spring-security-zhcn.html -->
<!-- https://springcloud.cc/spring-security-zhcn.html -->
<intercept-url
pattern=
"/api/v1/cache/getallcache"
access=
"permitAll"
/>
<intercept-url
pattern=
"/api/v1/cache/getallcache"
access=
"permitAll"
/>
<intercept-url
pattern=
"/api/v1/user/login"
access=
"permitAll"
/>
<intercept-url
pattern=
"/api/v1/user/login"
access=
"permitAll"
/>
<intercept-url
pattern=
"/api/v1/leave/**"
access=
"permitAll"
/>
<intercept-url
pattern=
"/api/**"
access=
"authenticated"
/>
<intercept-url
pattern=
"/api/**"
access=
"authenticated"
/>
<intercept-url
pattern=
"/**"
access=
"permitAll"
/>
<intercept-url
pattern=
"/**"
access=
"permitAll"
/>
<headers>
<headers>
...
...
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