[JBoss JIRA] (WFLY-13269) The org.wildfly:wildfly-client-all artefact incorrectly contains the Elytron CDI extension
by Darran Lofthouse (Jira)
[ https://issues.redhat.com/browse/WFLY-13269?page=com.atlassian.jira.plugi... ]
Darran Lofthouse resolved WFLY-13269.
-------------------------------------
Resolution: Done
> The org.wildfly:wildfly-client-all artefact incorrectly contains the Elytron CDI extension
> ------------------------------------------------------------------------------------------
>
> Key: WFLY-13269
> URL: https://issues.redhat.com/browse/WFLY-13269
> Project: WildFly
> Issue Type: Bug
> Components: Build System, MP JWT, Security
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Priority: Critical
> Fix For: 20.0.0.Beta1
>
>
> This means if the artefact is included in a deployment the JWT activation is incorrectly triggered but with some dependencies missing leading to an error such as the following.
> {code}
> 09:46:44,391 WARN [org.jboss.modules.define] (MSC service thread 1-1) Failed to define class org.wildfly.security.mp.jwt.JWTCDIExtension in Module "deployment.XXXX.ear" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/wildfly/security/mp/jwt/JWTCDIExtension (Module "deployment.XXXX.ear" from Service Module Loader): io/smallrye/jwt/auth/cdi/SmallRyeJWTAuthCDIExtension
> at java.lang.ClassLoader.defineClass1(ClassLoader.java)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (ELY-1948) wildfly-elytron HTTP JWT Bearer realm CORS
by Darran Lofthouse (Jira)
[ https://issues.redhat.com/browse/ELY-1948?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse reassigned ELY-1948:
-------------------------------------
Assignee: (was: Darran Lofthouse)
> wildfly-elytron HTTP JWT Bearer realm CORS
> ------------------------------------------
>
> Key: ELY-1948
> URL: https://issues.redhat.com/browse/ELY-1948
> Project: WildFly Elytron
> Issue Type: Feature Request
> Reporter: Jan Bárta
> Priority: Optional
>
> Hi,
> i found possible problem with HTTP Bearer JWT.
> If you need create dynamically CORS by +own policy JAXRS filter+, then it will be problem with expired/invalid (any other problem) JWT token. You will see CORS exception on expired/invalid JWT because wildfly-elytron refuse request before own policy JAXRS filters (as e.g. @PreMatching ContainerRequestFilter, ContainerResponseFilter).
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (WFLY-11492) Quickstart http-custom-mechanism: documentation step fails
by Darran Lofthouse (Jira)
[ https://issues.redhat.com/browse/WFLY-11492?page=com.atlassian.jira.plugi... ]
Darran Lofthouse reassigned WFLY-11492:
---------------------------------------
Assignee: (was: Darran Lofthouse)
> Quickstart http-custom-mechanism: documentation step fails
> ----------------------------------------------------------
>
> Key: WFLY-11492
> URL: https://issues.redhat.com/browse/WFLY-11492
> Project: WildFly
> Issue Type: Bug
> Components: Documentation, Security
> Reporter: Alan Hantke
> Priority: Major
>
> Step #3, entitled *Configure the Application Security Domain* has the developer executing the following CLI command:
> {code:java}
> $ {jbossHomeName}/bin/jboss-cli.sh --connect --file=configure-security-domain.cli
> {code}
> However, this results in the following error:
> {code:java}
> The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error):
> WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
> Step: step-1
> Operation: /subsystem=undertow/application-security-domain=other:add(http-authentication-factory=application-http-authentication)
> Failure: WFLYCTL0369: Required capabilities are not available:
> org.wildfly.security.http-authentication-factory.application-http-authentication; Possible registration points for this capability:
> /subsystem=elytron/http-authentication-factory=*
> {code}
> I am by no means an expert on this, but in looking at the standalone.xml file, I think that there needs to be a mate for the inserted *application-http-authentication*. I have attempted to continue without this changes installed by the CLI, but I am unable to execute the webapp even after providing the correct user/pass in the BASIC AUTH.
> I have verified that the same problem-causing syntax exists on the quickstart 'master', although I have been using branch '14.x' because neither 15.x nor 'master' would build when I execute 'mvn clean build'. Finally, the I encounter the problem with fresh installs of WildFly versions 10.1.0 and 14.0.
> Please change change the project if I have categorized the ticket incorrectly.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (WFLY-11492) Quickstart http-custom-mechanism: documentation step fails
by Darran Lofthouse (Jira)
[ https://issues.redhat.com/browse/WFLY-11492?page=com.atlassian.jira.plugi... ]
Darran Lofthouse updated WFLY-11492:
------------------------------------
Component/s: Security
> Quickstart http-custom-mechanism: documentation step fails
> ----------------------------------------------------------
>
> Key: WFLY-11492
> URL: https://issues.redhat.com/browse/WFLY-11492
> Project: WildFly
> Issue Type: Bug
> Components: Documentation, Security
> Reporter: Alan Hantke
> Assignee: Darran Lofthouse
> Priority: Major
>
> Step #3, entitled *Configure the Application Security Domain* has the developer executing the following CLI command:
> {code:java}
> $ {jbossHomeName}/bin/jboss-cli.sh --connect --file=configure-security-domain.cli
> {code}
> However, this results in the following error:
> {code:java}
> The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error):
> WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
> Step: step-1
> Operation: /subsystem=undertow/application-security-domain=other:add(http-authentication-factory=application-http-authentication)
> Failure: WFLYCTL0369: Required capabilities are not available:
> org.wildfly.security.http-authentication-factory.application-http-authentication; Possible registration points for this capability:
> /subsystem=elytron/http-authentication-factory=*
> {code}
> I am by no means an expert on this, but in looking at the standalone.xml file, I think that there needs to be a mate for the inserted *application-http-authentication*. I have attempted to continue without this changes installed by the CLI, but I am unable to execute the webapp even after providing the correct user/pass in the BASIC AUTH.
> I have verified that the same problem-causing syntax exists on the quickstart 'master', although I have been using branch '14.x' because neither 15.x nor 'master' would build when I execute 'mvn clean build'. Finally, the I encounter the problem with fresh installs of WildFly versions 10.1.0 and 14.0.
> Please change change the project if I have categorized the ticket incorrectly.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months