Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
INB
eTRANSAFE
pretox-rest-api
Commits
4c26efaa
Commit
4c26efaa
authored
Nov 18, 2021
by
jcorvi
Browse files
Merge branch 'develop' into 'master'
Develop See merge request
!17
parents
25cb49f3
4ed5f658
Pipeline
#25992
passed with stage
in 2 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/es/bsc/inb/ades/rest/api/security/basic/inmemory/SecurityConfig.java
View file @
4c26efaa
...
...
@@ -21,5 +21,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Autowired
public
void
configureGlobal
(
AuthenticationManagerBuilder
auth
)
throws
Exception
{
auth
.
inMemoryAuthentication
().
withUser
(
"admin"
).
password
(
"{noop}eTRAN2019!"
).
roles
(
"USER"
);
for
(
int
i
=
1
;
i
<
41
;
i
++)
{
auth
.
inMemoryAuthentication
().
withUser
(
"user"
+
i
).
password
(
"{noop}user"
+
i
+
"2021!"
).
roles
(
"USER"
);
}
}
}
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