-
Notifications
You must be signed in to change notification settings - Fork 148
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
Fixed JmacHttpsTest - certificate authentication #24877
Conversation
dmatej
commented
Mar 26, 2024
•
edited
Loading
edited
- created DescriptorPrincipalName class
- Note that the equals method is not symmetric here
- Exousia uses Set.contains -> equals to check the authorization.
- I had to improve logs and code on several places to find out what is happening, later I partially separated that to standalone commit.
...s/security/core/src/main/java/com/sun/enterprise/security/auth/login/LoginContextDriver.java
Outdated
Show resolved
Hide resolved
...s/security/core/src/main/java/com/sun/enterprise/security/auth/login/LoginContextDriver.java
Outdated
Show resolved
Hide resolved
...s/security/core/src/main/java/com/sun/enterprise/security/auth/login/LoginContextDriver.java
Outdated
Show resolved
Hide resolved
...s/security/core/src/main/java/com/sun/enterprise/security/auth/login/LoginContextDriver.java
Outdated
Show resolved
Hide resolved
...s/security/core/src/main/java/com/sun/enterprise/security/auth/login/LoginContextDriver.java
Outdated
Show resolved
Hide resolved
...s/security/core/src/main/java/com/sun/enterprise/security/auth/login/LoginContextDriver.java
Outdated
Show resolved
Hide resolved
nucleus/security/core/src/main/java/com/sun/enterprise/security/ssl/GlassfishSSLSupport.java
Outdated
Show resolved
Hide resolved
Local Perhaps some problems with k8s. |
Hmmmm ...
|
Yes, same error on other branch's build... |
The problem was reported to GitLab: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4475 |
…ant equals - Note that the equals method is not symmetric here - Exousia uses Set.contains -> equals to check the authorization. Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- throws an exception if it was not possible to delete some files. Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Meh, aha. I got it. The file is the same file in domain lib dir, test deleted it, another test created the same file with different content, but as the domain did not restart and classes are still cached by some classloader, boooom! Such external library is owned by the domain, not by the application, so basically it is a correct behavior, because the test "corrupted" domain's files. Possible solutions:
|
- The file is owned by the domain, not by the application and not by the test. - The server will notice that the file vanished at some point in time, but we cannot rely on that. - Another reliable solution is to stop-domain - delete lib file - start-domain - Also it is a bad practice to use the same library name for different contents. Signed-off-by: David Matějček <david.matejcek@omnifish.ee>