Interface WebSocketsServerRuntimeConfig.Security

Enclosing interface:
WebSocketsServerRuntimeConfig

public static interface WebSocketsServerRuntimeConfig.Security
  • Method Summary

    Modifier and Type
    Method
    Description
    Quarkus redirects HTTP handshake request to this URL if an HTTP upgrade is rejected due to the authorization failure.
  • Method Details

    • authFailureRedirectUrl

      Optional<String> 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.