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

*CURRENT authentication doesn't work with RPM Java on IBM i #49

Open
ThePrez opened this issue Apr 29, 2023 · 3 comments
Open

*CURRENT authentication doesn't work with RPM Java on IBM i #49

ThePrez opened this issue Apr 29, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ThePrez
Copy link
Member

ThePrez commented Apr 29, 2023

The *CURRENT/*CURRENT optimization for passwordless login as current user does not work when using the OpenJDK RPM distribution on IBM i.

This likely requires server PTF changes as well as JTOpen code changes.

@ThePrez ThePrez added the bug Something isn't working label Apr 29, 2023
@jeber-ibm
Copy link
Member

Jesse, as a security concern should we remove the '*CURRENT'/'*CURRENT' option and force the callers to use null values instead. The problem with *CURRENT/*CURRENT is that an application can ask a user for the userid and password. If the user then enters *CURRENT / *CURRENT, then they can access the system using the current authorization for the job. I removed this option from the JDBC drivers several years again.

@ThePrez
Copy link
Member Author

ThePrez commented May 1, 2023

Yes we should make null the default requirement. I suspect we will break a hefty number of applications though (my own included). What do you think of a System property as a compatibility switch to enable a "*CURRENT" password?

@jeber-ibm
Copy link
Member

Yes, I agree that we should use a system property as a compatibility switch. Then people have some time as they secure their applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants