Skip to content

[ELY-3033] Add JPMS module-info.java files for all non-deprecated modules#2424

Open
tristantarrant wants to merge 1 commit intowildfly-security:2.xfrom
tristantarrant:jpms/split-packages
Open

[ELY-3033] Add JPMS module-info.java files for all non-deprecated modules#2424
tristantarrant wants to merge 1 commit intowildfly-security:2.xfrom
tristantarrant:jpms/split-packages

Conversation

@tristantarrant
Copy link
Copy Markdown
Contributor

No description provided.

…ules

Resolve split packages:
- Move SSLConnection/TLSServerEndPointChannelBinding from auth-server's
  o.w.s.ssl to o.w.s.auth.ssl
- Move PasswordEntry/PasswordKeyStoreSpi from credential's o.w.s.keystore
  to o.w.s.credential.keystore
- Move auth/client's o.w.s.auth.util to o.w.s.auth.client.util
- Move auth/client's o.w.s.credential.source to o.w.s.auth.client.credential

Add module-info.java to 67 modules with proper requires, exports, and
provides directives. Include generate-module-info.py script.

Notable decisions:
- Skip wildfly-elytron-security-manager (compiled with Java 8)
- Export mechanism._private to all modules (used by 20+ consumers)
- Use requires transitive for jackson deps in jose-util
- Skip deprecated modules per project convention
@tristantarrant tristantarrant requested a review from a team as a code owner March 24, 2026 16:46
@skyllarr
Copy link
Copy Markdown
Contributor

Hi @tristantarrant , just wondering if the ELY-???? means that it was not possible to create jira issue?

@tristantarrant
Copy link
Copy Markdown
Contributor Author

Hi @tristantarrant , just wondering if the ELY-???? means that it was not possible to create jira issue?

Indeed. If you create an issue for me, I'll amend the commit and PR title

@skyllarr
Copy link
Copy Markdown
Contributor

skyllarr commented Apr 17, 2026

@tristantarrant I've created https://redhat.atlassian.net/browse/ELY-3033 issue, you can adjust description if needed and add the issue number to commit. And you should have the permissions in jira now. Thank you

@darranl
Copy link
Copy Markdown
Contributor

darranl commented Apr 17, 2026

Some of the classes moved here look like they may be public API.

@@ -0,0 +1,15 @@
module org.wildfly.security.auth.realm.token {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the strategy that can be used to understand why the proposed module definitions are define the way they are?

How do we verify this is the correct list of requires and how do we confirm what the correct list of exports is?

Does this work consider the use of WildFly Elytron in other contexts such as in WildFly or in issolation to the project.

@skyllarr skyllarr changed the title [ELY-????] Add JPMS module-info.java files for all non-deprecated modules [ELY-3033 Add JPMS module-info.java files for all non-deprecated modules Apr 20, 2026
@skyllarr skyllarr changed the title [ELY-3033 Add JPMS module-info.java files for all non-deprecated modules [ELY-3033] Add JPMS module-info.java files for all non-deprecated modules Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants