@Component @Order(value=1000) public class CubaLoginScreenFilter extends java.lang.Object implements NavigationFilter
NavigationFilter.AccessCheckResult
Modifier and Type | Field and Description |
---|---|
protected WindowConfig |
windowConfig |
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
CubaLoginScreenFilter() |
Modifier and Type | Method and Description |
---|---|
NavigationFilter.AccessCheckResult |
allowed(NavigationState fromState,
NavigationState toState)
Checks whether
fromState to toState navigation is allowed or not. |
@Inject protected WindowConfig windowConfig
public NavigationFilter.AccessCheckResult allowed(NavigationState fromState, NavigationState toState)
NavigationFilter
fromState
to toState
navigation is allowed or not.allowed
in interface NavigationFilter
fromState
- from statetoState
- to state