Skip to content

Spring Security Configuration deprecations #70

@eidottermihi

Description

@eidottermihi

Current Spring Security config is using deprecated API, it should be updated to use supported API.

de.muenchen.oss.appswitcher.security.SecurityConfiguration

Warning: /home/runner/work/appswitcher-server/appswitcher-server/src/main/java/de/muenchen/oss/appswitcher/security/SecurityConfiguration.java:[51,25] authorizeHttpRequests() in org.springframework.security.config.annotation.web.builders.HttpSecurity has been deprecated and marked for removal
Warning: /home/runner/work/appswitcher-server/appswitcher-server/src/main/java/de/muenchen/oss/appswitcher/security/SecurityConfiguration.java:[54,25] and() in org.springframework.security.config.annotation.web.configurers.AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry has been deprecated and marked for removal
Warning: /home/runner/work/appswitcher-server/appswitcher-server/src/main/java/de/muenchen/oss/appswitcher/security/SecurityConfiguration.java:[54,31] oauth2Login() in org.springframework.security.config.annotation.web.builders.HttpSecurity has been deprecated and marked for removal
Warning: /home/runner/work/appswitcher-server/appswitcher-server/src/main/java/de/muenchen/oss/appswitcher/security/SecurityConfiguration.java:[63,13] authorizeHttpRequests() in org.springframework.security.config.annotation.web.builders.HttpSecurity has been deprecated and marked for removal

Warning: /home/runner/work/appswitcher-server/appswitcher-server/src/main/java/de/muenchen/oss/appswitcher/security/SecurityConfiguration.java:[77,13] csrf() in org.springframework.security.config.annotation.web.builders.HttpSecurity has been deprecated and marked for removal
Warning: /home/runner/work/appswitcher-server/appswitcher-server/src/main/java/de/muenchen/oss/appswitcher/security/SecurityConfiguration.java:[77,30] headers() in org.springframework.security.config.annotation.web.builders.HttpSecurity has been deprecated and marked for removal
Warning: /home/runner/work/appswitcher-server/appswitcher-server/src/main/java/de/muenchen/oss/appswitcher/security/SecurityConfiguration.java:[77,40] frameOptions() in org.springframework.security.config.annotation.web.configurers.HeadersConfigurer has been deprecated and marked for removal
Warning: /home/runner/work/appswitcher-server/appswitcher-server/src/main/java/de/muenchen/oss/appswitcher/security/SecurityConfiguration.java:[77,65] and() in org.springframework.security.config.annotation.SecurityConfigurerAdapter has been deprecated and marked for removal
Warning: /home/runner/work/appswitcher-server/appswitcher-server/src/main/java/de/muenchen/oss/appswitcher/security/SecurityConfiguration.java:[77,71] cors() in org.springframework.security.config.annotation.web.builders.HttpSecurity has been deprecated and marked for removal

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersjavaPull requests that update Java code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions