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

Remove obsolete EJBContext methods #1035

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

eirbjo
Copy link
Contributor

@eirbjo eirbjo commented Apr 20, 2023

The EJBContext methods getEnvironment, getCallerIdentity and isCallerInRole(Identity) were removed in Jakarta EE 9, but their implementations remain in BaseContext.

This PR suggests we remove these now-obsolete methods and also add @Override annotations to prevent future removals going unnoticed.

This also removed the depdency on the deprecated for-removal java.security.Identity class and allows TomEE to run on future JREs where this class has been removed.

…ity and isCallerInRole(Identity). Add overrides to prevent future removals going undetected.
@eirbjo eirbjo changed the title Remove the obsolete EJBContext methods Remove obsolete EJBContext methods Apr 20, 2023
@rzo1 rzo1 merged commit 5ce33b6 into apache:main Nov 15, 2023
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.

2 participants