[JBoss JIRA] (WFCORE-2683) Elytron, using wrong provider-http-server-mechanism-factory does not generates any log messages
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2683?page=com.atlassian.jira.plugi... ]
Jan Kalina updated WFCORE-2683:
-------------------------------
Labels: management-model management-security (was: eap71_beta management-model management-security)
> Elytron, using wrong provider-http-server-mechanism-factory does not generates any log messages
> -----------------------------------------------------------------------------------------------
>
> Key: WFCORE-2683
> URL: https://issues.jboss.org/browse/WFCORE-2683
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Jan Kalina
> Assignee: Jan Kalina
> Priority: Blocker
> Labels: management-model, management-security
>
> When I secure management interface with wrongly configured http-authentication-factory and try to authenticate I get no error except of warning during boot
> {code}
> 11:41:16,140 WARN [org.jboss.as.remoting] (MSC service thread 1-2) ****** All authentication is ANONYMOUS for org.jboss.as.remoting.RemotingHttpUpgradeService
> {code}
> But user is not able to know what is going wrong.
> When I do similar for deployment there is at least error during boot:
> {code}
> 14:30:59,608 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 63) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./secured-webapp: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./secured-webapp: java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory.
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:84)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory.
> at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:241)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:99)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
> ... 6 more
> Caused by: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory.
> at org.wildfly.extension.undertow.ApplicationSecurityDomainDefinition$ApplicationSecurityDomainService.initialSecurityHandler(ApplicationSecurityDomainDefinition.java:463)
> at org.wildfly.extension.undertow.ApplicationSecurityDomainDefinition$ApplicationSecurityDomainService.lambda$applyElytronSecurity$2(ApplicationSecurityDomainDefinition.java:425)
> at io.undertow.servlet.core.DeploymentManagerImpl.setupSecurityHandlers(DeploymentManagerImpl.java:415)
> at io.undertow.servlet.core.DeploymentManagerImpl.access$600(DeploymentManagerImpl.java:119)
> at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:211)
> at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:174)
> at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
> at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704)
> at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:239)
> ... 8 more
> 14:30:59,613 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "secured-webapp.war")]) - failure description: {
> "WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./secured-webapp" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./secured-webapp: java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory.
> Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory.
> Caused by: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory."},
> "WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./secured-webapp"]
> }
> {code}
> Add some error, to help user troubleshoot this kind of problem.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (WFCORE-2683) Elytron, using wrong provider-http-server-mechanism-factory does not generates any log messages
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2683?page=com.atlassian.jira.plugi... ]
Jan Kalina moved JBEAP-10385 to WFCORE-2683:
--------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-2683 (was: JBEAP-10385)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Security
(was: Security)
(was: User Experience)
Affects Version/s: (was: 7.1.0.DR13)
> Elytron, using wrong provider-http-server-mechanism-factory does not generates any log messages
> -----------------------------------------------------------------------------------------------
>
> Key: WFCORE-2683
> URL: https://issues.jboss.org/browse/WFCORE-2683
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Jan Kalina
> Assignee: Jan Kalina
> Priority: Blocker
> Labels: eap71_beta, management-model, management-security
>
> When I secure management interface with wrongly configured http-authentication-factory and try to authenticate I get no error except of warning during boot
> {code}
> 11:41:16,140 WARN [org.jboss.as.remoting] (MSC service thread 1-2) ****** All authentication is ANONYMOUS for org.jboss.as.remoting.RemotingHttpUpgradeService
> {code}
> But user is not able to know what is going wrong.
> When I do similar for deployment there is at least error during boot:
> {code}
> 14:30:59,608 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 63) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./secured-webapp: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./secured-webapp: java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory.
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:84)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory.
> at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:241)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:99)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
> ... 6 more
> Caused by: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory.
> at org.wildfly.extension.undertow.ApplicationSecurityDomainDefinition$ApplicationSecurityDomainService.initialSecurityHandler(ApplicationSecurityDomainDefinition.java:463)
> at org.wildfly.extension.undertow.ApplicationSecurityDomainDefinition$ApplicationSecurityDomainService.lambda$applyElytronSecurity$2(ApplicationSecurityDomainDefinition.java:425)
> at io.undertow.servlet.core.DeploymentManagerImpl.setupSecurityHandlers(DeploymentManagerImpl.java:415)
> at io.undertow.servlet.core.DeploymentManagerImpl.access$600(DeploymentManagerImpl.java:119)
> at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:211)
> at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:174)
> at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
> at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704)
> at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:239)
> ... 8 more
> 14:30:59,613 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "secured-webapp.war")]) - failure description: {
> "WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./secured-webapp" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./secured-webapp: java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory.
> Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory.
> Caused by: java.lang.IllegalStateException: WFLYUT0084: There are no mechanisms available from the HttpAuthenticationFactory."},
> "WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./secured-webapp"]
> }
> {code}
> Add some error, to help user troubleshoot this kind of problem.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (ELY-1084) CS tool, There is success message when we try to remove non-existents entry from storage file.
by Hynek Švábek (JIRA)
[ https://issues.jboss.org/browse/ELY-1084?page=com.atlassian.jira.plugin.s... ]
Hynek Švábek updated ELY-1084:
------------------------------
Component/s: Credential Store
> CS tool, There is success message when we try to remove non-existents entry from storage file.
> ----------------------------------------------------------------------------------------------
>
> Key: ELY-1084
> URL: https://issues.jboss.org/browse/ELY-1084
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store
> Reporter: Hynek Švábek
> Assignee: Darran Lofthouse
>
> When we try remove non-existent alias entry from credential store storage file then we get success message.
> There is expected error message.
> *How to reproduce:*
> Create credential store storage file and add there alias
> {code}
> java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
> {code}
> We run command for remove alias from storage and in both cases we get success message:
> {code}
> java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
> Alias "secret_alias" has been successfully removed
> java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
> Alias "secret_alias" has been successfully removed
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (ELY-1084) CS tool, There is success message when we try to remove non-existents entry from storage file.
by Hynek Švábek (JIRA)
Hynek Švábek created ELY-1084:
---------------------------------
Summary: CS tool, There is success message when we try to remove non-existents entry from storage file.
Key: ELY-1084
URL: https://issues.jboss.org/browse/ELY-1084
Project: WildFly Elytron
Issue Type: Bug
Reporter: Hynek Švábek
Assignee: Darran Lofthouse
When we try remove non-existent alias entry from credential store storage file then we get success message.
There is expected error message.
*How to reproduce:*
Create credential store storage file and add there alias
{code}
java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
{code}
We run command for remove alias from storage and in both cases we get success message:
{code}
java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
Alias "secret_alias" has been successfully removed
java -jar wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks
Alias "secret_alias" has been successfully removed
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (DROOLS-1531) Fix instanceof accordingly to FEEL spec table 49 and InstanceOfNode
by Matteo Mortari (JIRA)
Matteo Mortari created DROOLS-1531:
--------------------------------------
Summary: Fix instanceof accordingly to FEEL spec table 49 and InstanceOfNode
Key: DROOLS-1531
URL: https://issues.jboss.org/browse/DROOLS-1531
Project: Drools
Issue Type: Bug
Reporter: Matteo Mortari
Assignee: Matteo Mortari
Priority: Minor
>From FEEL specification table 49:
bq. Type-checking is defined in Table 49. Note that type is not mapped to the domain, and null is not the name of a type, and null is not an instance of any type.
Also InstanceOfNode needs alignment to new interface methods available.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (DROOLS-1530) Regression due to accumulate reverse() fix
by Geoffrey De Smet (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1530?page=com.atlassian.jira.plugi... ]
Geoffrey De Smet updated DROOLS-1530:
-------------------------------------
Description:
Jiri,
Once you've got a reproducer and Mario has it, can you reassign this issue to Mario?
Fix needs to be backported because regression was also backported.
was:
Jiri,
Once you've got a reproducer and Mario has it, can you reassign this issue to Mario?
> Regression due to accumulate reverse() fix
> ------------------------------------------
>
> Key: DROOLS-1530
> URL: https://issues.jboss.org/browse/DROOLS-1530
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Reporter: Geoffrey De Smet
> Assignee: Jiri Locker
> Priority: Blocker
>
> Jiri,
> Once you've got a reproducer and Mario has it, can you reassign this issue to Mario?
> Fix needs to be backported because regression was also backported.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (ELY-986) Method equals for MatchRule throws java.lang.IllegalStateException
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/ELY-986?page=com.atlassian.jira.plugin.sy... ]
Kabir Khan updated ELY-986:
---------------------------
Fix Version/s: 1.1.0.Beta37
> Method equals for MatchRule throws java.lang.IllegalStateException
> ------------------------------------------------------------------
>
> Key: ELY-986
> URL: https://issues.jboss.org/browse/ELY-986
> Project: WildFly Elytron
> Issue Type: Bug
> Affects Versions: 1.1.0.Beta28
> Reporter: Ondrej Lukas
> Assignee: Ingo Weiss
> Priority: Critical
> Fix For: 1.1.0.Beta37
>
>
> In case when method {{equals(MatchRule other)}} is called on {{org.wildfly.security.auth.client.MatchRule}} then it finishes with java.lang.IllegalStateException with following stack trace, for calling {{MatchRule.ALL.equals(MatchRule.ALL);}}:
> {code}
> java.lang.IllegalStateException
> at org.wildfly.security.auth.client.MatchRule$1.getMatchUser(MatchRule.java:102)
> at org.wildfly.security.auth.client.MatchRule.getMatchUser(MatchRule.java:500)
> at org.wildfly.security.auth.client.MatchNoUserRule.halfEqual(MatchNoUserRule.java:46)
> at org.wildfly.security.auth.client.MatchRule.equals(MatchRule.java:157)
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (DROOLS-1530) Regression due to accumulate reverse() fix
by Geoffrey De Smet (JIRA)
Geoffrey De Smet created DROOLS-1530:
----------------------------------------
Summary: Regression due to accumulate reverse() fix
Key: DROOLS-1530
URL: https://issues.jboss.org/browse/DROOLS-1530
Project: Drools
Issue Type: Bug
Components: core engine
Reporter: Geoffrey De Smet
Assignee: Jiri Locker
Priority: Blocker
Jiri,
Once you've got a reproducer and Mario has it, can you reassign this issue to Mario?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years