<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with java]]></title><description><![CDATA[A list of topics that have been tagged with java]]></description><link>https://fusionauth.io/community/forum/tags/java</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 04:03:34 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/tags/java.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[Failure when starting FusionAuth in Docker on Mac M4]]></title><description><![CDATA[<p dir="auto">This is due to a <a href="https://bugs.openjdk.org/browse/JDK-8345296" rel="nofollow ugc">bug in the openjdk java library</a> that the docker image uses. You can learn more about the bug here and track our fix (which looks like upgrading the java image our docker file users) <a href="https://github.com/FusionAuth/fusionauth-issues/issues/2973" rel="nofollow ugc">by following this bug</a>.</p>
<p dir="auto">Until then, the workaround is to pass this java argument at start time:</p>
-XX:UseSVE=0

<p dir="auto">This argument disables the use of the <a href="https://developer.arm.com/documentation/102476/0100/Introducing-SVE" rel="nofollow ugc">SVE extension</a>, which is provides "better data parallelism for HPC and ML".</p>
<p dir="auto">You can do that with the FUSIONAUTH_APP_ADDITIONAL_JAVA_ARGS environment variable in your Dockerfile. Here's an example:</p>
  fusionauth:
    # ...
    environment:
      # ...
      FUSIONAUTH_APP_ADDITIONAL_JAVA_ARGS: -XX:UseSVE=0

]]></description><link>https://fusionauth.io/community/forum/topic/2853/failure-when-starting-fusionauth-in-docker-on-mac-m4</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/2853/failure-when-starting-fusionauth-in-docker-on-mac-m4</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How to generate and authorized java spring controller using JWT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2561">@shyamsundar-k</a> said in <a href="/community/forum/post/6388">How to generate and authorized java spring controller using JWT</a>:</p>
<blockquote>
<p dir="auto">We need to pass the token in the API header as Authorization: Bearer&lt;token&gt; But what is the process so that I can validate the endpoint with the valid token if the token is invalid or does not have the required roles or scope then I should get 401 else I should be able to access the API successfully.</p>
</blockquote>
<p dir="auto">Once you have a token in your API, you can validate it in two different ways. But it's worth noting that to validate the token, you must validate the signature and then the claims.</p>
<p dir="auto">First option: use a library to validate the signature. Most languages have options. For java, <a href="https://github.com/fusionauth/fusionauth-jwt#verify-and-decode-a-jwt-using-rsa" rel="nofollow ugc">you can use fusionauth-jwt, the readme has sample code</a>.</p>
<p dir="auto">Second option: <a href="https://fusionauth.io/docs/v1/tech/apis/jwt#validate-a-jwt" rel="nofollow ugc">use the validate API</a>. You could use the <a href="https://github.com/FusionAuth/fusionauth-java-client/blob/master/src/main/java/io/fusionauth/client/FusionAuthClient.java#L5399" rel="nofollow ugc">FusionAuth client library</a> to make this call if you'd like.</p>
<p dir="auto">The first means you have to pick a library. The second means you have to make a network call.</p>
<p dir="auto">Either way, after you validate the signature, you need to check the claims (issuer, audience, expiration, custom claims) to make sure they are what you expect.</p>
<p dir="auto">Here's more about how to <a href="https://fusionauth.io/articles/tokens/building-a-secure-jwt#consuming-a-jwt" rel="nofollow ugc">consume a JWT</a>.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2456/how-to-generate-and-authorized-java-spring-controller-using-jwt</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/2456/how-to-generate-and-authorized-java-spring-controller-using-jwt</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Performance issues even with a 8 Core + 32 gigs.]]></title><description><![CDATA[<p dir="auto">Thanks <a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/303">@sjswami</a> , this duplicate ids issue is now resolved in 1.19.7. Appreciate you letting us know about it: <a href="https://github.com/FusionAuth/fusionauth-issues/issues/890" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-issues/issues/890</a></p>
]]></description><link>https://fusionauth.io/community/forum/topic/370/performance-issues-even-with-a-8-core-32-gigs</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/370/performance-issues-even-with-a-8-core-32-gigs</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[I&#x27;m seeing weirdness around timestamps and I use jackson]]></title><description><![CDATA[<p dir="auto">Apparently jackson + friends make assumptions when it comes to parsing raw -&gt; ZonedDateTime. It appears that the ZonedDateTime for createInstant when deserializing timestamps are not being handled properly somehow, so you need custom code. We have our own Jackson serializer and deserializer for ZonedDateTime to ensure we always get milli in and milli out.</p>
<p dir="auto">Here's the <a href="https://github.com/inversoft/jackson5" rel="nofollow ugc">code</a> (Apache2 license) and the <a href="https://mvnrepository.com/artifact/com.inversoft/jackson5" rel="nofollow ugc">maven repository links</a> if it's helpful.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/187/i-m-seeing-weirdness-around-timestamps-and-i-use-jackson</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/187/i-m-seeing-weirdness-around-timestamps-and-i-use-jackson</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>