commit
4f7079df23
5 changed files with 5 additions and 5 deletions
|
@ -36,7 +36,7 @@ public class WebserviceInfo {
|
|||
private static final String VERSION_KEY = "sebserver.version";
|
||||
private static final String WEB_SERVICE_TEST_PROPERTY = "sebserver.test.property";
|
||||
private static final String WEB_SERVICE_SERVER_NAME_KEY = "sebserver.webservice.http.external.servername";
|
||||
private static final String WEB_SERVICE_HTTP_SCHEME_KEY = "sebserver.webservice.http.scheme";
|
||||
private static final String WEB_SERVICE_HTTP_SCHEME_KEY = "sebserver.webservice.http.external.scheme";
|
||||
private static final String WEB_SERVICE_HTTP_PORT = "sebserver.webservice.http.external.port";
|
||||
private static final String WEB_SERVICE_HOST_ADDRESS_KEY = "server.address";
|
||||
private static final String WEB_SERVICE_SERVER_PORT_KEY = "server.port";
|
||||
|
|
|
@ -43,7 +43,7 @@ public final class SEBServerUser implements UserDetails, CredentialsContainer {
|
|||
this.authorities = Collections.unmodifiableList(
|
||||
userInfo.roles
|
||||
.stream()
|
||||
.map(SimpleGrantedAuthority::new)
|
||||
.map(role -> new SimpleGrantedAuthority(role))
|
||||
.collect(Collectors.toList()));
|
||||
|
||||
if (CollectionUtils.isEmpty(userInfo.roles)) {
|
||||
|
|
|
@ -25,7 +25,7 @@ sebserver.webservice.clean-db-on-startup=false
|
|||
# webservice configuration
|
||||
sebserver.init.adminaccount.gen-on-init=false
|
||||
sebserver.webservice.distributed=false
|
||||
sebserver.webservice.http.scheme=http
|
||||
sebserver.webservice.http.external.scheme=http
|
||||
sebserver.webservice.http.external.servername=
|
||||
sebserver.webservice.http.external.port=${server.port}
|
||||
sebserver.webservice.http.redirect.gui=/gui
|
||||
|
|
|
@ -86,7 +86,7 @@ sebserver.webservice.internalSecret=${sebserver.password}
|
|||
|
||||
### webservice networking
|
||||
sebserver.webservice.distributed=false
|
||||
sebserver.webservice.http.scheme=http
|
||||
sebserver.webservice.http.external.scheme=https
|
||||
sebserver.webservice.http.external.servername=
|
||||
sebserver.webservice.http.external.port=
|
||||
sebserver.webservice.http.redirect.gui=/gui
|
||||
|
|
|
@ -13,7 +13,7 @@ spring.datasource.platform=test
|
|||
spring.flyway.enabled=false
|
||||
|
||||
sebserver.init.adminaccount.gen-on-init=false
|
||||
sebserver.webservice.http.scheme=http
|
||||
sebserver.webservice.http.external.scheme=http
|
||||
sebserver.webservice.http.redirect.gui=/gui
|
||||
sebserver.webservice.api.admin.clientId=testClient
|
||||
sebserver.webservice.api.admin.clientSecret=testClient
|
||||
|
|
Loading…
Reference in a new issue