Vorbereitung Release 0.2.0 #83

Merged
tpeetz merged 178 commits from develop/0.2.0 into main 2026-01-29 22:50:42 +00:00
5 changed files with 7 additions and 7 deletions
Showing only changes of commit adad4f88da - Show all commits
+1
View File
@@ -59,6 +59,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
implementation 'io.micrometer:micrometer-registry-prometheus'
implementation 'org.springframework.security:spring-security-oauth2-jose'
implementation 'org.springframework.security:spring-security-oauth2-resource-server'
implementation 'com.h2database:h2'
@@ -5,7 +5,6 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import com.vaadin.flow.component.HasValue;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@@ -1,9 +1,7 @@
package de.thpeetz.kontor.common.views;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.vaadin.flow.component.combobox.MultiSelectComboBox;
@@ -20,7 +20,6 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.security.oauth2.jose.jws.JwsAlgorithms;
import org.springframework.security.web.util.matcher.AntPathRequestMatcher;
@EnableWebSecurity
@Configuration
@@ -36,8 +35,9 @@ public class SecurityConfig extends VaadinWebSecurity {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeHttpRequests(auth -> auth.requestMatchers(
AntPathRequestMatcher.antMatcher(HttpMethod.GET, "/images/*.png")).permitAll());
http.authorizeHttpRequests(auth -> auth
.requestMatchers("/images/*.png").permitAll()
.requestMatchers("/actuator/**").permitAll());
super.configure(http);
setLoginView(http, LoginView.class);
setStatelessAuthentication(http, new SecretKeySpec(Base64.getDecoder().decode(authSecret), JwsAlgorithms.HS256),
@@ -28,10 +28,12 @@ management:
endpoints:
web:
exposure:
include: "*"
include: health,info,metrics,prometheus
endpoint:
health:
show-details: always
prometheus:
enabled: true
logging:
level:
org: