Skip to content

[Currency] Deprecations in Spring security #8562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mandy-chessell opened this issue Jan 3, 2025 · 1 comment
Open

[Currency] Deprecations in Spring security #8562

mandy-chessell opened this issue Jan 3, 2025 · 1 comment
Labels
enhancement New feature or request pinned Keep open (do not time out) triage New bug/issue which needs checking & assigning

Comments

@mandy-chessell
Copy link
Contributor

Existing/related issue?

No response

Please describe the new behavior that that will improve Egeria

There are a number of deprecations in the Spring security interface that affect the OMAG Server Platform. The description of the replacements seem to be more a change in style than substance so this should be a faily contained change. These are the build message:

...egeria/open-metadata-implementation/user-security/user-authn/src/main/java/org/odpi/openmetadata/userauthn/auth/SecurityConfig.java:116: warning: [removal] cors() in HttpSecurity has been deprecated and marked for removal
        return httpSecurity.cors().and()

.../egeria/open-metadata-implementation/user-security/user-authn/src/main/java/org/odpi/openmetadata/userauthn/auth/SecurityConfig.java:116: warning: [removal] and() in SecurityConfigurerAdapter has been deprecated and marked for removal
        return httpSecurity.cors().and()
                                  ^
  where B,O are type-variables:
    B extends SecurityBuilder<O> declared in class SecurityConfigurerAdapter
    O extends Object declared in class SecurityConfigurerAdapter

.../egeria/open-metadata-implementation/user-security/user-authn/src/main/java/org/odpi/openmetadata/userauthn/auth/SecurityConfig.java:130: warning: [removal] jwt() in OAuth2ResourceServerConfigurer has been deprecated and marked for removal
                .oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt)
                                      ^
  where H is a type-variable:
    H extends HttpSecurityBuilder<H> declared in class OAuth2ResourceServerConfigurer

Alternatives

No response

Any Further Information?

No response

Would you be prepared to be assigned this issue to work on?

No response

@mandy-chessell mandy-chessell added enhancement New feature or request triage New bug/issue which needs checking & assigning labels Jan 3, 2025
@mandy-chessell mandy-chessell changed the title [Technical Debt] Deprecations in Spring security [Currency] Deprecations in Spring security Jan 5, 2025
Copy link

github-actions bot commented Mar 7, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the no-issue-activity Issues automatically marked as stale because they have not had recent activity. label Mar 7, 2025
@mandy-chessell mandy-chessell added pinned Keep open (do not time out) and removed no-issue-activity Issues automatically marked as stale because they have not had recent activity. labels Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned Keep open (do not time out) triage New bug/issue which needs checking & assigning
Projects
Development

No branches or pull requests

1 participant