[
https://issues.redhat.com/browse/ELY-1994?page=com.atlassian.jira.plugin....
]
Sonia Zaldana edited comment on ELY-1994 at 6/26/20 11:41 AM:
--------------------------------------------------------------
The impact is mainly related to _java.security.acl.Group_.
Overview:
* _TestLoginModule.java_: A _Group_ implementation is used in the tests to store the
caller principal.
* _JaasSecurityRealm.java_: _JaasSecurityRealm#getCallerPrincipal_ looks for a _Group_
and returns the first principal in the group.
The _java.security.acl_ package has been replaced with _java.security.policy_
([
https://docs.oracle.com/javase/7/docs/api/java/security/Policy.html)|http...
I don't see a straightforward way to switch to the alternative.
was (Author: szaldana):
The impact is mainly related to _java.security.acl.Group_.
Overview:
* _TestLoginModule.java_: A _Group_ implementation is used in the tests to store the
caller principal.
* _JaasSecurityRealm.java_: _JaasSecurityRealm#getCallerPrincipal_ looks for a _Group_
and returns the first principal in the group.
The _java.security.acl_ package has been replaced with j_ava.security.policy_
([
https://docs.oracle.com/javase/7/docs/api/java/security/Policy.html)|http...
I don't see a straightforward way to switch to the alternative.
Ensure the Elytron build works on Java 14
-----------------------------------------
Key: ELY-1994
URL:
https://issues.redhat.com/browse/ELY-1994
Project: WildFly Elytron
Issue Type: Task
Components: Testsuite
Reporter: Darran Lofthouse
Priority: Major
Fix For: 1.13.0.CR2
Overall the build is not doing too badly and doesn't fail until we get to the main
testsuite.
{code:java}
[INFO] WildFly Elytron - Tests ............................ FAILURE [ 1.447 s]
[INFO] WildFly Elytron .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:46 min
[INFO] Finished at: 2020-06-11T11:25:23+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.0-jboss-1:testCompile
(default-testCompile) on project wildfly-elytron-tests: Compilation failure: Compilation
failure:
[ERROR]
/home/darranl/src/community/wildfly-elytron/tests/base/src/test/java/org/wildfly/security/auth/TestLoginModule.java:[31,25]
package java.security.acl does not exist
[ERROR]
/home/darranl/src/community/wildfly-elytron/tests/base/src/test/java/org/wildfly/security/auth/TestLoginModule.java:[107,40]
cannot find symbol
[ERROR] symbol: class Group
[ERROR] location: class org.wildfly.security.auth.TestLoginModule
[ERROR] -> [Help 1] {code}
If this is all that is failing for us maybe we can revisit the test and see how
appropriate it is and if it can be adapted to use available APIs.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)