diff --git a/src/main/docs/guide/quickStart.adoc b/src/main/docs/guide/quickStart.adoc index cf2401e6..c29cd9ac 100644 --- a/src/main/docs/guide/quickStart.adoc +++ b/src/main/docs/guide/quickStart.adoc @@ -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"] diff --git a/src/main/docs/guide/supportedApi.adoc b/src/main/docs/guide/supportedApi.adoc index 6048ec29..5ac34b97 100644 --- a/src/main/docs/guide/supportedApi.adoc +++ b/src/main/docs/guide/supportedApi.adoc @@ -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.