Interface RedirectService

All Known Implementing Classes:
DefaultRedirectService

@DefaultImplementation(DefaultRedirectService.class) public interface RedirectService
Get redirection URLs combining context path and redirect configuration.
Since:
3.7.2
Author:
Sergio del Amo
  • Method Details

    • loginSuccessUrl

      @NonNull @NonNull String loginSuccessUrl()
      Returns:
      String to be parsed into a URI which represents where the user is redirected to after a successful login.
    • loginFailureUrl

      @NonNull @NonNull String loginFailureUrl()
      Returns:
      String to be parsed into a URI which represents where the user is redirected to after a failed login.
    • logoutUrl

      @NonNull @NonNull String logoutUrl()
      Returns:
      String to be parsed into a URI which represents where the user is redirected to after logout.
    • unauthorizedUrl

      @NonNull @NonNull String unauthorizedUrl()
      Returns:
      where the user is redirected to after trying to access a secured route.
    • forbiddenUrl

      @NonNull @NonNull String forbiddenUrl()
      Returns:
      where the user is redirected to after trying to access a secured route for which the does not have sufficient roles.
    • refreshUrl

      @NonNull @NonNull String refreshUrl()
      Returns:
      where the user is redirected to after executing the refresh token endpoint.