[JBoss JIRA] (WFLY-11348) EESecurityAuthMechanismTestCase fails with security manager
by Justin Cook (Jira)
[ https://issues.jboss.org/browse/WFLY-11348?page=com.atlassian.jira.plugin... ]
Justin Cook commented on WFLY-11348:
------------------------------------
[~swd847] This issue seems to be related to WFLY-10172 and not Elytron. Do you have any pointers for it/if the fix isn't straightforward would you like to take it over?
> EESecurityAuthMechanismTestCase fails with security manager
> -----------------------------------------------------------
>
> Key: WFLY-11348
> URL: https://issues.jboss.org/browse/WFLY-11348
> Project: WildFly
> Issue Type: Bug
> Components: Security, Test Suite
> Affects Versions: 14.0.0.Final
> Reporter: Martin Choma
> Assignee: Justin Cook
> Priority: Major
> Labels: security-manager
>
> {noformat}
> org.jboss.as.test.integration.security.jaspi (2)
> EESecurityAuthMechanismTestCase.testAuthNotRequired
> EESecurityAuthMechanismTestCase.testSuccessfulAuthentication
> {noformat}
> Seems to me doPrivileged block is missing in server code somewhere.
> {noformat}
> &#27;[0m&#27;[31m00:29:39,192 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /EESecurityAuthMechanismTestCase/unsecured/index.jsp: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "org.jboss.security.plugins.JBossSecurityContext.getSubjectInfo")" in code source "(vfs:/content/EESecurityAuthMechanismTestCase.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.EESecurityAuthMechanismTestCase.war" from Service Module Loader")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:294)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:191)
> at org.jboss.security.plugins.JBossSecurityContext.getSubjectInfo(JBossSecurityContext.java:182)
> at org.jboss.security.auth.callback.JASPICallbackHandler.handleCallBack(JASPICallbackHandler.java:128)
> at org.jboss.security.auth.callback.JBossCallbackHandler.handle(JBossCallbackHandler.java:87)
> at org.glassfish.soteria.mechanisms.jaspic.Jaspic.handleCallbacks(Jaspic.java:196)
> at org.glassfish.soteria.mechanisms.jaspic.Jaspic.notifyContainerAboutLogin(Jaspic.java:182)
> at org.glassfish.soteria.mechanisms.HttpMessageContextImpl.doNothing(HttpMessageContextImpl.java:303)
> at org.jboss.as.test.integration.security.jaspi.SimpleHttpAuthenticationMechanism.validateRequest(SimpleHttpAuthenticationMechanism.java:43)
> at org.jboss.as.test.integration.security.jaspi.SimpleHttpAuthenticationMechanism$Proxy$_$$_WeldClientProxy.validateRequest(Unknown Source)
> at org.glassfish.soteria.mechanisms.jaspic.HttpBridgeServerAuthModule.validateRequest(HttpBridgeServerAuthModule.java:114)
> at org.glassfish.soteria.mechanisms.jaspic.DefaultServerAuthContext.validateRequest(DefaultServerAuthContext.java:76)
> at org.jboss.security.plugins.auth.JASPIServerAuthenticationManager.isValid(JASPIServerAuthenticationManager.java:115)
> at org.wildfly.extension.undertow.security.jaspi.JASPICAuthenticationMechanism.authenticate(JASPICAuthenticationMechanism.java:125)
> at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:245)
> at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.access$100(SecurityContextImpl.java:231)
> at io.undertow.security.impl.SecurityContextImpl.attemptAuthentication(SecurityContextImpl.java:125)
> at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:99)
> at io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:92)
> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55){noformat}
> {noformat}
> [1] https://ci.wildfly.org/viewLog.html?buildId=128138&buildTypeId=WF_MasterS...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3341) Duplicate DO columns
by Liz Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-3341?page=com.atlassian.jira.plugi... ]
Liz Clayton reassigned DROOLS-3341:
-----------------------------------
Assignee: Daniele Zonca (was: Liz Clayton)
> Duplicate DO columns
> --------------------
>
> Key: DROOLS-3341
> URL: https://issues.jboss.org/browse/DROOLS-3341
> Project: Drools
> Issue Type: Task
> Components: Scenario Simulation and Testing
> Reporter: Liz Clayton
> Assignee: Daniele Zonca
> Priority: Major
> Labels: ScenarioSimulation, UX, UXTeam
> Attachments: duplicate.png, multiDO.png
>
>
> As a user I want to use multiple instances of the same data object in my test scenarios (multiple instances support) (i.e. scenario with more than one instance of “Person”...), so that I can create a test scenario.
> * As a user I want a means to create a data object instance in the test template using an existing statement column, so that I can quickly create instances from the test table.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3341) Duplicate DO columns
by Liz Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-3341?page=com.atlassian.jira.plugi... ]
Liz Clayton updated DROOLS-3341:
--------------------------------
Story Points: (was: 5)
> Duplicate DO columns
> --------------------
>
> Key: DROOLS-3341
> URL: https://issues.jboss.org/browse/DROOLS-3341
> Project: Drools
> Issue Type: Task
> Components: Scenario Simulation and Testing
> Reporter: Liz Clayton
> Assignee: Daniele Zonca
> Priority: Major
> Labels: ScenarioSimulation, UX, UXTeam
> Attachments: duplicate.png, multiDO.png
>
>
> As a user I want to use multiple instances of the same data object in my test scenarios (multiple instances support) (i.e. scenario with more than one instance of “Person”...), so that I can create a test scenario.
> * As a user I want a means to create a data object instance in the test template using an existing statement column, so that I can quickly create instances from the test table.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3341) Duplicate DO columns
by Liz Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-3341?page=com.atlassian.jira.plugi... ]
Liz Clayton commented on DROOLS-3341:
-------------------------------------
* Provide a “Duplicate column” label within the contextual menu, only for the Data Object header. Please refer to the mockup.
* Selecting the menu option will duplicate the data object (e.g. "dispute”) along with its field properties.
* Place the new, duplicated column to the right of the selected instance that spawned it.
* Provide an autogenerated name to the new column/instance that has been created (could be a string or number - might need input from docs.)
* Concurrently create a duplicated instance in the selector tree. As soon as it is duplicated, it will appear in the right panel. Name it with the same placeholder alias name provided in the new table column.
*Reference documents:*
UX use case research: https://docs.google.com/document/d/1z3WZ83WRuZzQYuBGgR6KMHg8N0ABAHuOJ2ZAd...
UX cross editor actions: https://docs.google.com/document/d/1ZXlOjR-bI-Bkkusn-CA3f-0ILyyh8tSZY1hg5...
> Duplicate DO columns
> --------------------
>
> Key: DROOLS-3341
> URL: https://issues.jboss.org/browse/DROOLS-3341
> Project: Drools
> Issue Type: Task
> Components: Scenario Simulation and Testing
> Reporter: Liz Clayton
> Assignee: Daniele Zonca
> Priority: Major
> Labels: ScenarioSimulation, UX, UXTeam
> Attachments: duplicate.png, multiDO.png
>
>
> As a user I want to use multiple instances of the same data object in my test scenarios (multiple instances support) (i.e. scenario with more than one instance of “Person”...), so that I can create a test scenario.
> * As a user I want a means to create a data object instance in the test template using an existing statement column, so that I can quickly create instances from the test table.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3341) Duplicate DO columns
by Liz Clayton (Jira)
Liz Clayton created DROOLS-3341:
-----------------------------------
Summary: Duplicate DO columns
Key: DROOLS-3341
URL: https://issues.jboss.org/browse/DROOLS-3341
Project: Drools
Issue Type: Task
Components: Scenario Simulation and Testing
Reporter: Liz Clayton
Assignee: Liz Clayton
Attachments: duplicate.png, multiDO.png
As a user I want to use multiple instances of the same data object in my test scenarios (multiple instances support) (i.e. scenario with more than one instance of “Person”...), so that I can create a test scenario.
* As a user I want a means to create a data object instance in the test template using an existing statement column, so that I can quickly create instances from the test table.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3342) Duplicate an instance
by Liz Clayton (Jira)
Liz Clayton created DROOLS-3342:
-----------------------------------
Summary: Duplicate an instance
Key: DROOLS-3342
URL: https://issues.jboss.org/browse/DROOLS-3342
Project: Drools
Issue Type: Sub-task
Components: Test Scenarios Editor
Reporter: Liz Clayton
Assignee: Liz Clayton
Attachments: multiDO.png
As a user I want to be able to duplicate a Given/Expect statement (column) so that I can create a statement with an instance of the same data object.
*_ refer to [parent jira|https://issues.jboss.org/browse/DROOLS-3193] for details and documentation. _
_Note: The "duplicate" action is possible only for "instance" header (not for single property)._
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3193) Multiple data object instances UX: Duplicate DO columns
by Liz Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-3193?page=com.atlassian.jira.plugi... ]
Liz Clayton resolved DROOLS-3193.
---------------------------------
Resolution: Done
Per discussions marking as Resolved. [~danielezonca] [~gabriolo] please let me know if anything is missing. Thanks.
> Multiple data object instances UX: Duplicate DO columns
> -------------------------------------------------------
>
> Key: DROOLS-3193
> URL: https://issues.jboss.org/browse/DROOLS-3193
> Project: Drools
> Issue Type: Task
> Components: Scenario Simulation and Testing
> Reporter: Liz Clayton
> Assignee: Liz Clayton
> Priority: Major
> Labels: ScenarioSimulation, UX, UXTeam
> Attachments: duplicate.png, multiDO.png
>
>
> As a user I want to use multiple instances of the same data object in my test scenarios (multiple instances support) (i.e. scenario with more than one instance of “Person”...), so that I can create a test scenario.
> * As a user I want a means to create a data object instance in the test template using an existing statement column, so that I can quickly create instances from the test table.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3193) Multiple data object instances UX: Duplicate DO columns
by Liz Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-3193?page=com.atlassian.jira.plugi... ]
Liz Clayton commented on DROOLS-3193:
-------------------------------------
[~danielezonca] [~gabriolo] I'll create a dev story, but in summary the proposed changes are:
* Provide a “Duplicate column” label within the contextual menu, only for the Data Object header. Please refer to the mockup.
* Selecting the menu option will +duplicate+ the data object (e.g. "dispute”) along with its field properties.
* Place the new, duplicated column to the right of the selected instance that spawned it.
* Provide an autogenerated name to the new column/instance that has been created (could be a string or number - might need input from docs.)
* Concurrently create a duplicated instance in the selector tree. As soon as it is duplicated, it will appear in the right panel. Name it with the same placeholder alias name provided in the new table column.
Reference documents:
* UX use case research: https://docs.google.com/document/d/1z3WZ83WRuZzQYuBGgR6KMHg8N0ABAHuOJ2ZAd...
* UX cross editor actions: https://docs.google.com/document/d/1ZXlOjR-bI-Bkkusn-CA3f-0ILyyh8tSZY1hg5...
> Multiple data object instances UX: Duplicate DO columns
> -------------------------------------------------------
>
> Key: DROOLS-3193
> URL: https://issues.jboss.org/browse/DROOLS-3193
> Project: Drools
> Issue Type: Task
> Components: Scenario Simulation and Testing
> Reporter: Liz Clayton
> Assignee: Liz Clayton
> Priority: Major
> Labels: ScenarioSimulation, UX, UXTeam
> Attachments: duplicate.png, multiDO.png
>
>
> As a user I want to use multiple instances of the same data object in my test scenarios (multiple instances support) (i.e. scenario with more than one instance of “Person”...), so that I can create a test scenario.
> * As a user I want a means to create a data object instance in the test template using an existing statement column, so that I can quickly create instances from the test table.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months