Package io.quarkus.websockets.next
Interface WebSocketsServerRuntimeConfig.Security
- Enclosing interface:
- WebSocketsServerRuntimeConfig
public static interface WebSocketsServerRuntimeConfig.Security
-
Method Summary
Modifier and TypeMethodDescriptionQuarkus redirects HTTP handshake request to this URL if an HTTP upgrade is rejected due to the authorization failure.
-
Method Details
-
authFailureRedirectUrl
Quarkus redirects HTTP handshake request to this URL if an HTTP upgrade is rejected due to the authorization failure. This configuration property takes effect when you secure endpoint with a standard security annotation. For example, the HTTP upgrade is secured if an endpoint class is annotated with the `@RolesAllowed` annotation.
-