Skip to content

Commit

Permalink
Merge pull request #6731 from gsmet/fix-links-in-doc
Browse files Browse the repository at this point in the history
Fix a few links in the documentation
  • Loading branch information
gsmet authored Jan 22, 2020
2 parents 1cbf650 + d1082f3 commit 181d86f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/lifecycle.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ NOTE: The methods can access injected beans. Check the {quickstarts-blob-url}/li

In the JVM mode, there is no real difference, except that `StartupEvent` is always fired *after* `@Initialized(ApplicationScoped.class)` and `ShutdownEvent` is fired *before* `@Destroyed(ApplicationScoped.class)`.
For a native executable build, however, `@Initialized(ApplicationScoped.class)` is fired as *part of the native build process*, whereas `StartupEvent` is fired when the native image is executed.
See <<writing-extensions.adoc#bootstrap-three-phases,Three Phases of Bootstrap and Quarkus Philosophy>> for more details.
See link:writing-extensions#bootstrap-three-phases[Three Phases of Bootstrap and Quarkus Philosophy] for more details.

NOTE: In CDI applications, an event with qualifier `@Initialized(ApplicationScoped.class)` is fired when the application context is initialized. See https://docs.jboss.org/cdi/spec/2.0/cdi-spec.html#application_context[the spec, window="_blank"] for more info.

Expand All @@ -116,4 +116,4 @@ Quarkus has 3 different launch modes, `NORMAL` (i.e. production), `DEVELOPMENT`
then the mode will be `DEVELOPMENT`, if you are running a JUnit test it will be `TEST`, otherwise it will be `NORMAL`.

Your application can get the launch mode by injecting the `io.quarkus.runtime.LaunchMode` enum into a CDI bean,
or by invoking the static method `io.quarkus.runtime.LaunchMode.current()`.
or by invoking the static method `io.quarkus.runtime.LaunchMode.current()`.
6 changes: 3 additions & 3 deletions docs/src/main/asciidoc/spring-security.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ https://github.com/quarkusio/quarkus/tree/master/docs/src/main/asciidoc
include::./attributes.adoc[]
:extension-status: preview

While users are encouraged to use <<security.adoc#standard-security-annotations,Java standard annotations for security authorizations>>, Quarkus provides a compatibility layer for Spring Security in the form of the `spring-security` extension.
While users are encouraged to use link:security#standard-security-annotations[Java standard annotations for security authorizations], Quarkus provides a compatibility layer for Spring Security in the form of the `spring-security` extension.

This guide explains how a Quarkus application can leverage the well known Spring Security annotations to define authorizations on RESTful services using roles.

Expand Down Expand Up @@ -51,7 +51,7 @@ cd spring-security-quickstart

This command generates a Maven project with a REST endpoint and imports the `spring-web`, `spring-security` and `security-properties-file` extensions.

For more information about `security-properties-file` you can check the guide of link:security-properties[quarkus-elytron-security-properties-file] extension.
For more information about `security-properties-file`, you can check out the guide of the link:security-properties[quarkus-elytron-security-properties-file] extension.

== GreetingController

Expand Down Expand Up @@ -141,7 +141,7 @@ public class GreetingController {
----

The easiest way to setup users and roles for our example is to use the `security-properties-file` extension. This extension essentially allows users and roles to be defined in the main Quarkus configuration file - `application.properties`.
For more information about this extension check link:security-properties.adoc[the associated guide].
For more information about this extension check link:security-properties[the associated guide].
An example configuration would be the following:

[source,properties]
Expand Down

0 comments on commit 181d86f

Please sign in to comment.