[JBoss JIRA] (ELY-1911) Allow lazy initialization of SSLContext inside OAuth2IntrospectValidator
by Loïc Mathieu (Jira)
Loïc Mathieu created ELY-1911:
---------------------------------
Summary: Allow lazy initialization of SSLContext inside OAuth2IntrospectValidator
Key: ELY-1911
URL: https://issues.jboss.org/browse/ELY-1911
Project: WildFly Elytron
Issue Type: Enhancement
Components: Authentication Mechanisms
Affects Versions: 2.0.0.Alpha4
Reporter: Loïc Mathieu
Quarkus uses GraalVM static initialization capability to perform native image optimization during the build of a native image.
Quarkus uses wildfly-elytron-realm-token library to implements OAuth2 authentication, in this library the OAuth2IntrospectValidator needs an initialized SSLContext at class initialization time (inside it's constructor), but GraalVM forbid to instantiate an SSLContext at static initilization time (it should not be present in the snapshoted heap).
I propose to allow a lazily initialization of the SSLContext in case no SSLContext is provided to OAuth2IntrospectValidator, this will allow to workaround the issue in native mode.
You can follow this discussion on the Quarkus side with a proposed implementation: https://github.com/quarkusio/quarkus/pull/5768
I can propose a PR on wildfly-elytron with a fix. This will slightly modify the current behaviour as it will no longuer be necessary to provide a SSLContext: if none is provided we will use the default one.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (DROOLS-4791) [DMN Designer] Not able to edit by double click after scroll
by Jozef Marko (Jira)
[ https://issues.jboss.org/browse/DROOLS-4791?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-4791:
--------------------------------
Description:
User is not able to invoke cell edito mode if he scrolled the dmn grid before.
*Acceptance criteria*
*_DMN_* (/)
- Import the attached file.
- Follow general steps below.
- Try to Drag and Drop Data type, Data Type Enumeration Constraint
*_Guided Decision Table_* (/)
- Create/open existing asset.
- Follow general steps below.
*_Scenario Simulation_* (/)
- Create/open existing asset.
- Follow general steps below.
*_General steps_*
(?) Double-click in cell to edit.
(?) Press {{<Tab>}} keyboard operation should work.
(?) Double-click in cell to edit.
(?) Press {{<Escape>}} keyboard operation should work.
(?) Click _elsewhere _ e.g. browser address bar.
(?) Keyboard operation should not work (editor does not have focus)
(?) Click on grid.
(?) Keyboard operation should work.
(?) Scroll the grid, Edit the cell, Keyboard Operation needs to work afterwards
(?) Search the grid, Edit the cell, Keyboard Operation needs to work afterwards
was:
User is not able to invoke cell edito mode if he scrolled the dmn grid before.
*Acceptance criteria*
*_DMN_*
- Import the attached file.
- Follow general steps below.
- Try to Drag and Drop Data type, Data Type Enumeration Constraint
*_Guided Decision Table_*
- Create/open existing asset.
- Follow general steps below.
*_Scenario Simulation_*
- Create/open existing asset.
- Follow general steps below.
*_General steps_*
(?) Double-click in cell to edit.
(?) Press {{<Tab>}} keyboard operation should work.
(?) Double-click in cell to edit.
(?) Press {{<Escape>}} keyboard operation should work.
(?) Click _elsewhere _ e.g. browser address bar.
(?) Keyboard operation should not work (editor does not have focus)
(?) Click on grid.
(?) Keyboard operation should work.
(?) Scroll the grid, Edit the cell, Keyboard Operation needs to work afterwards
(?) Search the grid, Edit the cell, Keyboard Operation needs to work afterwards
> [DMN Designer] Not able to edit by double click after scroll
> ------------------------------------------------------------
>
> Key: DROOLS-4791
> URL: https://issues.jboss.org/browse/DROOLS-4791
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.31.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Critical
> Labels: drools-tools
> Attachments: aTable.dmn, edit-cell.webm
>
>
> User is not able to invoke cell edito mode if he scrolled the dmn grid before.
> *Acceptance criteria*
> *_DMN_* (/)
> - Import the attached file.
> - Follow general steps below.
> - Try to Drag and Drop Data type, Data Type Enumeration Constraint
> *_Guided Decision Table_* (/)
> - Create/open existing asset.
> - Follow general steps below.
> *_Scenario Simulation_* (/)
> - Create/open existing asset.
> - Follow general steps below.
> *_General steps_*
> (?) Double-click in cell to edit.
> (?) Press {{<Tab>}} keyboard operation should work.
> (?) Double-click in cell to edit.
> (?) Press {{<Escape>}} keyboard operation should work.
> (?) Click _elsewhere _ e.g. browser address bar.
> (?) Keyboard operation should not work (editor does not have focus)
> (?) Click on grid.
> (?) Keyboard operation should work.
> (?) Scroll the grid, Edit the cell, Keyboard Operation needs to work afterwards
> (?) Search the grid, Edit the cell, Keyboard Operation needs to work afterwards
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (DROOLS-3048) [DMN Designer] CellEditorControl needs to issue a new instance per use
by Jozef Marko (Jira)
[ https://issues.jboss.org/browse/DROOLS-3048?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-3048:
--------------------------------
Steps to Reproduce:
# Import the sample Traffic_Violation project
# Open the only dmn file present
# Expand the amount column as shown in the attached picture
# Try to invoke any context menu now for adding rows/columns
> [DMN Designer] CellEditorControl needs to issue a new instance per use
> ----------------------------------------------------------------------
>
> Key: DROOLS-3048
> URL: https://issues.jboss.org/browse/DROOLS-3048
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.12.0.Final
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Priority: Major
> Labels: drools-tools
>
> A {{Popover}} used to edit a cell or column header (or any other DOM-based editor for that matter) disappears following a change in the widget that causes a {{Layer.draw()}} if the grid is sufficiently wide that there is a column not visible on screen.
> All cells/columns that use {{CellEditorControls}} (containing, for example, the {{Popover}}) share a single instance from {{CellEditorControl}} and hence although the User makes a change in a visible column the invisible column (scrolled off screen) has its DOM resources destroyed that is the same instance as that for the visible column.
> See https://github.com/kiegroup/appformer/blob/master/uberfire-extensions/ube.... If a column is not in the _body_ or _floating_ columns collection its DOM resources are destroyed.
> I probably need to ensure different instances of {{CellEditorControl}} are created for each column/cell where we currently share the same instance. Also check for destruction of DOM elements in {{Document}} when grids/columns etc are destroyed.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (WFLY-12827) Class not found com.sun.xml.internal.ws.encoding.StringDataContentHandler
by Yeray Borges (Jira)
[ https://issues.jboss.org/browse/WFLY-12827?page=com.atlassian.jira.plugin... ]
Yeray Borges reassigned WFLY-12827:
-----------------------------------
Assignee: Yeray Borges (was: Tomaž Cerar)
> Class not found com.sun.xml.internal.ws.encoding.StringDataContentHandler
> -------------------------------------------------------------------------
>
> Key: WFLY-12827
> URL: https://issues.jboss.org/browse/WFLY-12827
> Project: WildFly
> Issue Type: Bug
> Components: Mail
> Affects Versions: 18.0.1.Final
> Reporter: Dominik Derwiński
> Assignee: Yeray Borges
> Priority: Major
>
> Trying to send email I get:
> {noformat}
> [2019-11-26 03:10:04.781] [javax.activation] [EE-ManagedThreadFactory-default-Thread-18] [FINE ] [com.sun.activation.registries.LogSupport] [log] [43] : MailcapCommandMap: createDataContentHandler for text/plain
> [2019-11-26 03:10:04.781] [javax.activation] [EE-ManagedThreadFactory-default-Thread-18] [FINE ] [com.sun.activation.registries.LogSupport] [log] [43] : search DB #0
> [2019-11-26 03:10:04.781] [javax.activation] [EE-ManagedThreadFactory-default-Thread-18] [FINE ] [com.sun.activation.registries.LogSupport] [log] [43] : got content-handler
> [2019-11-26 03:10:04.781] [javax.activation] [EE-ManagedThreadFactory-default-Thread-18] [FINE ] [com.sun.activation.registries.LogSupport] [log] [43] : class com.sun.xml.internal.ws.encoding.StringDataContentHandler
> [2019-11-26 03:10:04.781] [javax.activation] [EE-ManagedThreadFactory-default-Thread-18] [FINE ] [com.sun.activation.registries.LogSupport] [log] [49] : Can't load DCH com.sun.xml.internal.ws.encoding.StringDataContentHandler: java.lang.ClassNotFoundException: com.sun.xml.internal.ws.encoding.StringDataContentHandler from [Module "javax.activation.api" version 1.2.1 from local module loader @82de64a (finder: local module finder @659499f1 (roots: /u01/wildfly/wildfly18/modules,/u01/wildfly/wildfly18/modules/system/layers/base))]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
> at java.base/java.lang.Class.forName0(Native Method)
> at java.base/java.lang.Class.forName(Class.java:315)
> at javax.activation.api@1.2.1//javax.activation.MailcapCommandMap.getDataContentHandler(MailcapCommandMap.java:598)
> at javax.activation.api@1.2.1//javax.activation.MailcapCommandMap.createDataContentHandler(MailcapCommandMap.java:555)
> at javax.activation.api@1.2.1//javax.activation.DataHandler.getDataContentHandler(DataHandler.java:600)
> at javax.activation.api@1.2.1//javax.activation.DataHandler.writeTo(DataHandler.java:299)
> at javax.mail.api@1.6.4//javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:316)
> at javax.mail.api@1.6.4//javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1551)
> at javax.mail.api@1.6.4//javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1148)
> at javax.mail.api@1.6.4//javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:498)
> at javax.mail.api@1.6.4//javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1509)
> at javax.mail.api@1.6.4//javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2238)
> at javax.mail.api@1.6.4//javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:2198)
> at javax.mail.api@1.6.4//javax.mail.Transport.send(Transport.java:99)
> {noformat}
> Maybe it's just missing module dependency for javax.mail.api, maybe you need to include JAXB and JAXWS libraries in WildFly modules for use on JDK 11+, when they were removed from JDK.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months