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
4ed5f658
Commit
4ed5f658
authored
Nov 18, 2021
by
jcorvi
Browse files
Merge branch 'allevidence' into 'develop'
users for demo See merge request
!16
parents
ec4987b3
f54fa4dc
Pipeline
#25990
passed with stage
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/es/bsc/inb/ades/rest/api/security/basic/inmemory/SecurityConfig.java
View file @
4ed5f658
...
...
@@ -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