Skip to content

Commit

Permalink
docs: Remove unnecessary version numbers (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
wetted authored Aug 4, 2023
1 parent bfed36d commit 4a6be77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/docs/guide/quickStart.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
To use this project you need Micronaut 1.3 or above then add the following annotation processor to any Micronaut project:

dependency:micronaut-jaxrs-processor[scope="annotationProcessor", version="{version}", groupId="io.micronaut.jaxrs"]
dependency:micronaut-jaxrs-processor[scope="annotationProcessor", groupId="io.micronaut.jaxrs"]

Then the following compile time dependency:

dependency:micronaut-jaxrs-server[scope="implementation", version="{version}", groupId="io.micronaut.jaxrs"]
dependency:micronaut-jaxrs-server[scope="implementation", groupId="io.micronaut.jaxrs"]
2 changes: 1 addition & 1 deletion src/main/docs/guide/supportedApi.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ When injecting the link:{jaxrsapi}/jakarta/ws/rs/core/SecurityContext.html[Secur

To integrate the JAX-RS support with Micronaut Security add the following dependency:

dependency:micronaut-jaxrs-server-security[scope="implementation", version="{version}", groupId="io.micronaut.jaxrs"]
dependency:micronaut-jaxrs-server-security[scope="implementation", groupId="io.micronaut.jaxrs"]

With the above dependency in place the `SecurityContext.isUserInRole` method will return `true` if the role is found within Micronaut Security's https://micronaut-projects.github.io/micronaut-security/latest/api/io/micronaut/security/authentication/Authentication.html#getRoles--[Authentication.getRoles()] method. See https://micronaut-projects.github.io/micronaut-security/latest/guide/#retrievingAuthenticatedUser[Retrieving the authenticated user] for more information.

Expand Down

0 comments on commit 4a6be77

Please sign in to comment.