Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pricing-pod-poc
Project
Project
Details
Activity
Releases
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
Jagadeshwar
pricing-pod-poc
Commits
c7bf858b
Commit
c7bf858b
authored
Dec 05, 2022
by
gkhan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
security changes added
parent
bfe2431a
Pipeline
#2743
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
SecurityConfig.java
src/main/java/com/safeway/pricing/config/SecurityConfig.java
+1
-0
AppRouterConfig.java
...main/java/com/safeway/pricing/router/AppRouterConfig.java
+1
-0
No files found.
src/main/java/com/safeway/pricing/config/SecurityConfig.java
View file @
c7bf858b
...
@@ -13,6 +13,7 @@ public class SecurityConfig {
...
@@ -13,6 +13,7 @@ public class SecurityConfig {
public
SecurityWebFilterChain
configure
(
ServerHttpSecurity
http
)
throws
Exception
{
public
SecurityWebFilterChain
configure
(
ServerHttpSecurity
http
)
throws
Exception
{
http
.
csrf
().
disable
().
authorizeExchange
()
http
.
csrf
().
disable
().
authorizeExchange
()
.
pathMatchers
(
"/oauth2/**"
,
"/login/**"
).
permitAll
()
.
pathMatchers
(
"/oauth2/**"
,
"/login/**"
).
permitAll
()
.
pathMatchers
(
HttpMethod
.
GET
,
"/getDefaultFilterDetails"
).
permitAll
()
.
pathMatchers
(
HttpMethod
.
GET
,
"/getDefaultFilterDetails"
).
permitAll
()
.
pathMatchers
(
HttpMethod
.
GET
,
"/api/**"
)
.
pathMatchers
(
HttpMethod
.
GET
,
"/api/**"
)
...
...
src/main/java/com/safeway/pricing/router/AppRouterConfig.java
View file @
c7bf858b
...
@@ -22,5 +22,6 @@ public class AppRouterConfig {
...
@@ -22,5 +22,6 @@ public class AppRouterConfig {
.
GET
(
"/api/getCRCDetails"
,
pricingHandler:
:
getCRCDetails
)
.
GET
(
"/api/getCRCDetails"
,
pricingHandler:
:
getCRCDetails
)
.
GET
(
"/api/getCRCDetails2"
,
pricingHandler:
:
getCRCDetails
)
.
GET
(
"/api/getCRCDetails2"
,
pricingHandler:
:
getCRCDetails
)
.
build
();
.
build
();
}
}
}
}
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