Skip to content
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

Recipe for migration JakartaEE Security is wrong #160

Closed
mabartos opened this issue Jan 5, 2023 · 1 comment · Fixed by #161
Closed

Recipe for migration JakartaEE Security is wrong #160

mabartos opened this issue Jan 5, 2023 · 1 comment · Fixed by #161
Assignees

Comments

@mabartos
Copy link
Contributor

mabartos commented Jan 5, 2023

Packages in our codebase were changed from javax.security.* to jakarta.security.* even though any dependency of javax.security.enterprise is included in the project.

The security packages javax.security.* are included in the JDK itself, and for JDK 11, it still contains the prefix javax.*, so probably these packages should not be updated in the codebase.

If we specify the required packages more, we'll avoid unnecessary collisions.

Issue to OpenRewrite docs: openrewrite/rewrite-docs#111

See: quarkusio/quarkus#30198
keycloak/keycloak#16247

@tkvangorder
Copy link
Contributor

tkvangorder commented Jan 6, 2023

@mabartos Thank you for reporting this.

I am going to open re-open this, as there is more to do in this area:

  • We need a recipe for Jakarta Authorization API.
  • We need a recipe for Jakarta Authentication API.

Look for a PR shortly.

@tkvangorder tkvangorder reopened this Jan 6, 2023
@github-project-automation github-project-automation bot moved this from Done to Backlog in OpenRewrite Jan 6, 2023
@tkvangorder tkvangorder self-assigned this Jan 6, 2023
@github-project-automation github-project-automation bot moved this from Backlog to Done in OpenRewrite Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants