Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIACERE
public
The Platform
IOP - IaC Optimized Platform
IEC - Catalogue
Commits
f9bbcd19
Commit
f9bbcd19
authored
Jun 01, 2022
by
Benguria Elguezabal, Gorka
Browse files
dissables security
parent
3026fc7f
Changes
3
Hide whitespace changes
Inline
Side-by-side
git/iec-backend/.gitignore
0 → 100644
View file @
f9bbcd19
######################
# Project Specific
######################
/src/main/webapp/content/css/main.css
/target/classes/static/**
/src/test/javascript/coverage/
######################
# Node
######################
/node/
node_tmp/
node_modules/
npm-debug.log.*
/.awcache/*
/.cache-loader/*
######################
# SASS
######################
.sass-cache/
######################
# Eclipse
######################
*.pydevproject
.project
.metadata
tmp/
tmp/**/*
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
.factorypath
/src/main/resources/rebel.xml
# External tool builders
.externalToolBuilders/**
# Locally stored "Eclipse launch configurations"
*.launch
# CDT-specific
.cproject
# PDT-specific
.buildpath
# STS-specific
/.sts4-cache/*
######################
# IntelliJ
######################
.idea/
*.iml
*.iws
*.ipr
*.ids
*.orig
classes/
out/
######################
# Visual Studio Code
######################
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
######################
# Maven
######################
/log/
/target/
######################
# Gradle
######################
.gradle/
/build/
######################
# Package Files
######################
*.jar
*.war
*.ear
*.db
######################
# Windows
######################
# Windows image file caches
Thumbs.db
# Folder config file
Desktop.ini
######################
# Mac OSX
######################
.DS_Store
.svn
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
######################
# Directories
######################
/bin/
/deploy/
######################
# Logs
######################
*.log*
######################
# Others
######################
*.class
*.*~
*~
.merge_file*
######################
# Gradle Wrapper
######################
!gradle/wrapper/gradle-wrapper.jar
######################
# Maven Wrapper
######################
!.mvn/wrapper/maven-wrapper.jar
######################
# ESLint
######################
.eslintcache
git/iec-backend/src/main/java/com/piacere/iec/backend/config/SecurityConfiguration.java
View file @
f9bbcd19
...
...
@@ -61,7 +61,7 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
.
authorizeRequests
()
.
antMatchers
(
"/api/authenticate"
).
permitAll
()
.
antMatchers
(
"/api/admin/**"
).
hasAuthority
(
AuthoritiesConstants
.
ADMIN
)
.
antMatchers
(
"/api/**"
).
authenticated
()
.
antMatchers
(
"/api/**"
).
permitAll
()
.
antMatchers
(
"/management/health"
).
permitAll
()
.
antMatchers
(
"/management/health/**"
).
permitAll
()
.
antMatchers
(
"/management/info"
).
permitAll
()
...
...
git/iec-frontend/src/main/java/com/piacere/iec/frontend/config/SecurityConfiguration.java
View file @
f9bbcd19
...
...
@@ -102,7 +102,7 @@ public class SecurityConfiguration {
.
pathMatchers
(
"/api/admin/**"
).
hasAuthority
(
AuthoritiesConstants
.
ADMIN
)
.
pathMatchers
(
"/api/**"
).
authenticated
()
.
pathMatchers
(
"/services/*/v3/api-docs"
).
permitAll
()
.
pathMatchers
(
"/services/**"
).
authenticated
()
.
pathMatchers
(
"/services/**"
).
permitAll
()
.
pathMatchers
(
"/management/health"
).
permitAll
()
.
pathMatchers
(
"/management/health/**"
).
permitAll
()
.
pathMatchers
(
"/management/info"
).
permitAll
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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