[JBoss JIRA] (ELY-1483) japicmp detects compatibility issues
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1483?page=com.atlassian.jira.plugin.s... ]
Martin Choma updated ELY-1483:
------------------------------
Description:
I have used japicmp tool to compare public API [1]. Version 1.1.7.Final was compared with master HEAD (in time of writing 1.2.0.Beta12-SNAPSHOT). These incompatibilities were detected:
- removed org.wildfly.security.asn1.ASN1 (moved to org.wildfly.security.asn1.util)
- removed org.wildfly.security.asn1.OidsUtil (moved to org.wildfly.security.asn1.util)
- removed org.wildfly.security.asn1.OidsUtil$Category (moved to org.wildfly.security.asn1.util)
- removed org.wildfly.security.x500.X500PrincipalUtil (moved to org.wildfly.security.x500.util)
- removed org.wildfly.security.asn1.ASN1Encoder.encodeIA5String(org.wildfly.security.util.ByteStringBuilder)
- removed org.wildfly.security.asn1.ASN1Encoder.encodeOctetString(org.wildfly.security.util.ByteStringBuilder)
- constructor less accessible package_protected (<- public ) org.wildfly.security.asn1.DERDecoder.DERDecoder(org.wildfly.security.util.ByteIterator)
- constructor less accessible package_protected (<- public ) org.wildfly.security.asn1.DEREncoder.DEREncoder(org.wildfly.security.util.ByteIterator)
- method less accessible package_protected (<- public ) org.wildfly.security.asn1.DEREncoder.encodeIA5String(org.wildfly.security.util.ByteStringBuilder)
- method less accessible package_protected (<- public ) org.wildfly.security.asn1.DEREncoder.encodeOctetString(org.wildfly.security.util.ByteStringBuilder)
[1] https://github.com/wildfly-security/wildfly-elytron/pull/1067
was:
I have used japicmp tool to compare public API [1]. Version 1.1.7.Final was compared with master HEAD (in time of writing 1.2.0.Beta12-SNAPSHOT). These incompatibilities were detected:
- removed org.wildfly.security.asn1.ASN1 (moved to org.wildfly.security.asn1.util)
- removed org.wildfly.security.asn1.OidsUtil (moved to org.wildfly.security.asn1.util)
- removed org.wildfly.security.asn1.OidsUtil$Category (moved to org.wildfly.security.asn1.util)
- removed org.wildfly.security.x500.X500PrincipalUtil (moved to org.wildfly.security.x500.util)
- removed org.wildfly.security.asn1.ASN1Encoder.encodeIA5String(org.wildfly.security.util.ByteStringBuilder)
- removed org.wildfly.security.asn1.ASN1Encoder.encodeOctetString(org.wildfly.security.util.ByteStringBuilder)
[1] https://github.com/wildfly-security/wildfly-elytron/pull/1067
> japicmp detects compatibility issues
> ------------------------------------
>
> Key: ELY-1483
> URL: https://issues.jboss.org/browse/ELY-1483
> Project: WildFly Elytron
> Issue Type: Bug
> Components: API / SPI
> Affects Versions: 1.2.0.Beta11
> Reporter: Martin Choma
> Priority: Critical
> Fix For: 1.2.0.Beta12
>
> Attachments: japicmp.html
>
>
> I have used japicmp tool to compare public API [1]. Version 1.1.7.Final was compared with master HEAD (in time of writing 1.2.0.Beta12-SNAPSHOT). These incompatibilities were detected:
> - removed org.wildfly.security.asn1.ASN1 (moved to org.wildfly.security.asn1.util)
> - removed org.wildfly.security.asn1.OidsUtil (moved to org.wildfly.security.asn1.util)
> - removed org.wildfly.security.asn1.OidsUtil$Category (moved to org.wildfly.security.asn1.util)
> - removed org.wildfly.security.x500.X500PrincipalUtil (moved to org.wildfly.security.x500.util)
> - removed org.wildfly.security.asn1.ASN1Encoder.encodeIA5String(org.wildfly.security.util.ByteStringBuilder)
> - removed org.wildfly.security.asn1.ASN1Encoder.encodeOctetString(org.wildfly.security.util.ByteStringBuilder)
> - constructor less accessible package_protected (<- public ) org.wildfly.security.asn1.DERDecoder.DERDecoder(org.wildfly.security.util.ByteIterator)
> - constructor less accessible package_protected (<- public ) org.wildfly.security.asn1.DEREncoder.DEREncoder(org.wildfly.security.util.ByteIterator)
> - method less accessible package_protected (<- public ) org.wildfly.security.asn1.DEREncoder.encodeIA5String(org.wildfly.security.util.ByteStringBuilder)
> - method less accessible package_protected (<- public ) org.wildfly.security.asn1.DEREncoder.encodeOctetString(org.wildfly.security.util.ByteStringBuilder)
> [1] https://github.com/wildfly-security/wildfly-elytron/pull/1067
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (ELY-1483) japicmp detects compatibility issues
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1483?page=com.atlassian.jira.plugin.s... ]
Martin Choma updated ELY-1483:
------------------------------
Attachment: japicmp.html
> japicmp detects compatibility issues
> ------------------------------------
>
> Key: ELY-1483
> URL: https://issues.jboss.org/browse/ELY-1483
> Project: WildFly Elytron
> Issue Type: Bug
> Components: API / SPI
> Affects Versions: 1.2.0.Beta11
> Reporter: Martin Choma
> Priority: Critical
> Fix For: 1.2.0.Beta12
>
> Attachments: japicmp.html
>
>
> I have used japicmp tool to compare public API [1]. Version 1.1.7.Final was compared with master HEAD (in time of writing 1.2.0.Beta12-SNAPSHOT). These incompatibilities were detected:
> - removed org.wildfly.security.asn1.ASN1 (moved to org.wildfly.security.asn1.util)
> - removed org.wildfly.security.asn1.OidsUtil (moved to org.wildfly.security.asn1.util)
> - removed org.wildfly.security.asn1.OidsUtil$Category (moved to org.wildfly.security.asn1.util)
> - removed org.wildfly.security.x500.X500PrincipalUtil (moved to org.wildfly.security.x500.util)
> - removed org.wildfly.security.asn1.ASN1Encoder.encodeIA5String(org.wildfly.security.util.ByteStringBuilder)
> - removed org.wildfly.security.asn1.ASN1Encoder.encodeOctetString(org.wildfly.security.util.ByteStringBuilder)
> [1] https://github.com/wildfly-security/wildfly-elytron/pull/1067
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (ELY-1483) japicmp detects compatibility issues
by Martin Choma (JIRA)
Martin Choma created ELY-1483:
---------------------------------
Summary: japicmp detects compatibility issues
Key: ELY-1483
URL: https://issues.jboss.org/browse/ELY-1483
Project: WildFly Elytron
Issue Type: Bug
Components: API / SPI
Affects Versions: 1.2.0.Beta11
Reporter: Martin Choma
Priority: Critical
Fix For: 1.2.0.Beta12
I have used japicmp tool to compare public API [1]. Version 1.1.7.Final was compared with master HEAD (in time of writing 1.2.0.Beta12-SNAPSHOT). These incompatibilities were detected:
- removed org.wildfly.security.asn1.ASN1 (moved to org.wildfly.security.asn1.util)
- removed org.wildfly.security.asn1.OidsUtil (moved to org.wildfly.security.asn1.util)
- removed org.wildfly.security.asn1.OidsUtil$Category (moved to org.wildfly.security.asn1.util)
- removed org.wildfly.security.x500.X500PrincipalUtil (moved to org.wildfly.security.x500.util)
- removed org.wildfly.security.asn1.ASN1Encoder.encodeIA5String(org.wildfly.security.util.ByteStringBuilder)
- removed org.wildfly.security.asn1.ASN1Encoder.encodeOctetString(org.wildfly.security.util.ByteStringBuilder)
[1] https://github.com/wildfly-security/wildfly-elytron/pull/1067
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3495) Update jboss-logmanager to 2.1.0.Alpha6
by Ivo Studensky (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3495?page=com.atlassian.jira.plugi... ]
Ivo Studensky moved JBEAP-14053 to WFCORE-3495:
-----------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-3495 (was: JBEAP-14053)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Logging
(was: Logging)
Affects Version/s: (was: 7.1.0.CR3)
Fix Version/s: (was: 7.1.1.GA)
> Update jboss-logmanager to 2.1.0.Alpha6
> ---------------------------------------
>
> Key: WFCORE-3495
> URL: https://issues.jboss.org/browse/WFCORE-3495
> Project: WildFly Core
> Issue Type: Component Upgrade
> Components: Logging
> Reporter: Ivo Studensky
> Assignee: Petr Sakař
>
> Version of log manager needs to be updated to include some bug fixes
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3494) CLI, infinite loop when accepting temporarily SSL certificate
by Jean-Francois Denise (JIRA)
Jean-Francois Denise created WFCORE-3494:
--------------------------------------------
Summary: CLI, infinite loop when accepting temporarily SSL certificate
Key: WFCORE-3494
URL: https://issues.jboss.org/browse/WFCORE-3494
Project: WildFly Core
Issue Type: Bug
Components: CLI
Reporter: Jean-Francois Denise
Assignee: Jean-Francois Denise
Scenario:
1) Accept Temporarily CERT1 CN=CA,
2) Disable SSL
3) Enable SSL with new certificate CERT2, same DN CN=CA
4) Prompt user to accept CERT2, Internal certificates set iterator returns items in this order (important): CERT2,CERT1
5) Internally create a delegate that will do the actual certificate check and add to it all certificates: theTrustStore.setCertificateEntry(current.getSubjectX500Principal().getName(), current);
6) So CERT1 and CERT2 are sharing the same name, CERT1 overrides CERT2, CERT2 (the certificate to add) will never be added
7) Infinite loop.
The problem comes from the fact that DN is used as the alias. In the case of temporarily added certificate, a unique alias should be created.
For certificate added permanently to the trust-store, the DN is also used as the alias. In this case, the last accepted certificate is the one stored, there is no mismatch.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFLY-9391) Validation errors with "jboss-web_11_0.xsd
by Erik . (JIRA)
[ https://issues.jboss.org/browse/WFLY-9391?page=com.atlassian.jira.plugin.... ]
Erik . edited comment on WFLY-9391 at 1/7/18 4:01 PM:
------------------------------------------------------
The include for jboss-common_7_0.xsd
{code:xml}
<xsd:include schemaLocation="jboss-common_7_0.xsd"/>
{code}
to solve WFLY-5410 was added in jboss-web_10_1.xsd but not to jboss-web_10_0.xsd and jboss-web_11_0.xsd.
{code:xml}
<xsd:import schemaLocation="web-app_3_1.xsd" namespace="http://java.sun.com/xml/ns/javaee"/>
{code}
should be replace by
{code:xml}
<xsd:import namespace="http://xmlns.jcp.org/xml/ns/javaee" schemaLocation="web-app_3_1.xsd"/>
<xsd:include schemaLocation="jboss-common_7_0.xsd"/>
{code}
was (Author: emeuwese):
The include for jboss-common_7_0.xsd
{code:xml}
<xsd:include schemaLocation="jboss-common_7_0.xsd"/>
{code}
to solve WFLY-5410 was added in jboss-web_10_1.xsd but not to jboss-web_10_0.xsd and jboss-web_11_0.xsd.
> Validation errors with "jboss-web_11_0.xsd
> ------------------------------------------
>
> Key: WFLY-9391
> URL: https://issues.jboss.org/browse/WFLY-9391
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 11.0.0.CR1
> Reporter: Wolfgang Knauf
> Assignee: Jason Greene
>
> Eclipse reports some errors when validating a "jboss-web.xml" file which defines the 11.0 xsd.
> First problem: "web-app_3_1.xsd" is imported. The target namespace seems to be invalid, it should be "http://xmlns.jcp.org/xml/ns/javaee" instead of "http://java.sun.com/xml/ns/javaee"
> <xsd:import namespace="http://xmlns.jcp.org/xml/ns/javaee" schemaLocation="http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"/>
> The validation error: *"The namespace attribute 'http://java.sun.com/xml/ns/javaee' of an import element information must be identical to the targetNamespace attribute 'http://xmlns.jcp.org/xml/ns/javaee' of the imported document".*
> It would probably also make sense to include the full schemaLocation URL ;-).
> After fixing the namespace, there are four more errors left:
> *src-resolve: Cannot resolve the name 'jboss:jndiEnvironmentRefsGroup' to a( n ) group component
> src-resolve: Cannot resolve the name 'javaee:generic-booleanType' to a( n ) 'simpleType definition' component
> src-ct.2.1: Complex type definition Representation Error for type 'symbolic-link-allowedType' ...
> src-resolve: Cannot resolve the name 'jboss:security-roleType' to a( n ) 'type definition' component*
> The first two errors: previous versions of jboss-web.xsd imported "jboss-common_6_0.xsd" which defined a "jndiEnvironmentRefsGroup". This file also imported "javaee_6.xsd", which defines the "generic-booleanType".
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFLY-9391) Validation errors with "jboss-web_11_0.xsd
by Erik . (JIRA)
[ https://issues.jboss.org/browse/WFLY-9391?page=com.atlassian.jira.plugin.... ]
Erik . edited comment on WFLY-9391 at 1/7/18 4:01 PM:
------------------------------------------------------
The include for jboss-common_7_0.xsd
{code:xml}
<xsd:include schemaLocation="jboss-common_7_0.xsd"/>
{code}
to solve WFLY-5410 was added in jboss-web_10_1.xsd but not to jboss-web_10_0.xsd and jboss-web_11_0.xsd.
The line in jboss-web_11_0.xsd
{code:xml}
<xsd:import schemaLocation="web-app_3_1.xsd" namespace="http://java.sun.com/xml/ns/javaee"/>
{code}
should be replace by:
{code:xml}
<xsd:import namespace="http://xmlns.jcp.org/xml/ns/javaee" schemaLocation="web-app_3_1.xsd"/>
<xsd:include schemaLocation="jboss-common_7_0.xsd"/>
{code}
was (Author: emeuwese):
The include for jboss-common_7_0.xsd
{code:xml}
<xsd:include schemaLocation="jboss-common_7_0.xsd"/>
{code}
to solve WFLY-5410 was added in jboss-web_10_1.xsd but not to jboss-web_10_0.xsd and jboss-web_11_0.xsd.
{code:xml}
<xsd:import schemaLocation="web-app_3_1.xsd" namespace="http://java.sun.com/xml/ns/javaee"/>
{code}
should be replace by
{code:xml}
<xsd:import namespace="http://xmlns.jcp.org/xml/ns/javaee" schemaLocation="web-app_3_1.xsd"/>
<xsd:include schemaLocation="jboss-common_7_0.xsd"/>
{code}
> Validation errors with "jboss-web_11_0.xsd
> ------------------------------------------
>
> Key: WFLY-9391
> URL: https://issues.jboss.org/browse/WFLY-9391
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 11.0.0.CR1
> Reporter: Wolfgang Knauf
> Assignee: Jason Greene
>
> Eclipse reports some errors when validating a "jboss-web.xml" file which defines the 11.0 xsd.
> First problem: "web-app_3_1.xsd" is imported. The target namespace seems to be invalid, it should be "http://xmlns.jcp.org/xml/ns/javaee" instead of "http://java.sun.com/xml/ns/javaee"
> <xsd:import namespace="http://xmlns.jcp.org/xml/ns/javaee" schemaLocation="http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"/>
> The validation error: *"The namespace attribute 'http://java.sun.com/xml/ns/javaee' of an import element information must be identical to the targetNamespace attribute 'http://xmlns.jcp.org/xml/ns/javaee' of the imported document".*
> It would probably also make sense to include the full schemaLocation URL ;-).
> After fixing the namespace, there are four more errors left:
> *src-resolve: Cannot resolve the name 'jboss:jndiEnvironmentRefsGroup' to a( n ) group component
> src-resolve: Cannot resolve the name 'javaee:generic-booleanType' to a( n ) 'simpleType definition' component
> src-ct.2.1: Complex type definition Representation Error for type 'symbolic-link-allowedType' ...
> src-resolve: Cannot resolve the name 'jboss:security-roleType' to a( n ) 'type definition' component*
> The first two errors: previous versions of jboss-web.xsd imported "jboss-common_6_0.xsd" which defined a "jndiEnvironmentRefsGroup". This file also imported "javaee_6.xsd", which defines the "generic-booleanType".
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months