-
Notifications
You must be signed in to change notification settings - Fork 0
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
This returns false #2
Comments
So fixing this so that it actually works results in REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on Benchmark Mode Cnt Score Error Units |
@davecramer I've tested this on Linux and when run on linux, it doesn't enter that code-path. Even if I throw the exception, it's not being hit. Apparently it does for you? Is this a plaform issue, perhaps? |
Edit: I revise, yes it's entered when the cache doesn't exist. But that's fine, we only want an equivalence of the internal API not a full login.
Now let's run them (comparing results):
|
Thx, for this, tested this and it seems to work. |
OK, here's the rub. Yes it runs fine but for some reason if I load a jaas.conf file ahead of time it does not. Which is why I did all the work to make it compatible.
BTW, I really do appreciate the effort you are putting into this. Cheers, Dave |
So it turns out it never did work on my version of linux. I have a non standard location for the cache. |
Yes, that's a bit of a nuisance. |
Also there is a [1] https://docs.oracle.com/javase/8/docs/api/javax/security/auth/login/Configuration.html |
Finding all the options is pretty difficult. The documentation for these things are buried in the code ... |
@jerboaa I have committed the change that removes the native code. I would really appreciate someone testing this. if possible |
@davecramer great, thanks! Unfortunately, I'm not in a good position to test it (prior release). What I can do is test this with native-image after it's been integrated in a release and quarkus updates its dep on the newer driver release (see quarkusio/quarkus#21359 which brought this to our attention). Perhaps someone on pgjdbc/pgjdbc#2023 can test it? |
@jerboaa that's a start. Sadly getting testers is tough in my world. Testing usually occurs when I break stuff :( |
kerb-ticket-benchmark/src/main/java/org/jerboaa/KrbTicketBenchmark.java
Line 98 in 5926468
So unfortunately this is not equivalent to using the native version
The text was updated successfully, but these errors were encountered: