Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SIGPUBLIC
unantes-orientation-active
Commits
db3b4cf0
Commit
db3b4cf0
authored
Jan 19, 2021
by
François-Xavier Lebastard
Browse files
Merge branch 'feature/UNOTOPLYS-26_security' into 'develop'
UNOTOPLYS-26: Security See merge request
!18
parents
4ba7ac0c
129496a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/unantes/orientactive/config/SecurityConfiguration.java
View file @
db3b4cf0
...
...
@@ -77,14 +77,15 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
.
and
()
.
authorizeRequests
()
.
antMatchers
(
"/api/authenticate"
).
permitAll
()
.
antMatchers
(
"/api/register"
).
permitAll
()
.
antMatchers
(
"/api/activate"
).
permitAll
()
.
antMatchers
(
"/api/account/reset-password/init"
).
permitAll
()
.
antMatchers
(
"/api/account/reset-password/finish"
).
permitAll
()
.
antMatchers
(
"/api/**"
).
permitAll
()
.
antMatchers
(
"/api/register"
).
authenticated
()
.
antMatchers
(
"/api/activate"
).
authenticated
()
.
antMatchers
(
"/api/account/reset-password/init"
).
authenticated
()
.
antMatchers
(
"/api/account/reset-password/finish"
).
authenticated
()
.
antMatchers
(
"/api/form/**"
).
permitAll
()
.
antMatchers
(
"/api/**"
).
authenticated
()
.
antMatchers
(
"/management/health"
).
permitAll
()
.
antMatchers
(
"/management/info"
).
permitAll
()
.
antMatchers
(
"/management/prometheus"
).
permitAll
()
.
antMatchers
(
"/management/info"
).
authenticated
()
.
antMatchers
(
"/management/prometheus"
).
authenticated
()
.
antMatchers
(
"/management/**"
).
hasAuthority
(
AuthoritiesConstants
.
ADMIN
)
.
and
()
.
httpBasic
()
...
...
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