@Singleton public class DefaultRedirectService extends java.lang.Object implements RedirectService
Constructor and Description |
---|
DefaultRedirectService(RedirectConfiguration redirectConfiguration,
java.util.List<io.micronaut.http.context.ServerContextPathProvider> serverContextPathProviders) |
DefaultRedirectService(RedirectConfiguration redirectConfiguration,
io.micronaut.http.context.ServerContextPathProvider serverContextPathProvider) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
forbiddenUrl() |
java.lang.String |
loginFailureUrl() |
java.lang.String |
loginSuccessUrl() |
java.lang.String |
logoutUrl() |
java.lang.String |
refreshUrl() |
java.lang.String |
unauthorizedUrl() |
@Inject public DefaultRedirectService(RedirectConfiguration redirectConfiguration, java.util.List<io.micronaut.http.context.ServerContextPathProvider> serverContextPathProviders)
serverContextPathProviders
- Server Context Path providersredirectConfiguration
- Redirect Configurationpublic DefaultRedirectService(RedirectConfiguration redirectConfiguration, io.micronaut.http.context.ServerContextPathProvider serverContextPathProvider)
serverContextPathProvider
- Server Context Path providerredirectConfiguration
- Redirect Configuration@NonNull public java.lang.String loginSuccessUrl()
loginSuccessUrl
in interface RedirectService
@NonNull public java.lang.String loginFailureUrl()
loginFailureUrl
in interface RedirectService
@NonNull public java.lang.String logoutUrl()
logoutUrl
in interface RedirectService
@NonNull public java.lang.String unauthorizedUrl()
unauthorizedUrl
in interface RedirectService
@NonNull public java.lang.String forbiddenUrl()
forbiddenUrl
in interface RedirectService
@NonNull public java.lang.String refreshUrl()
refreshUrl
in interface RedirectService