@Component(value="cuba_App") @Scope(value="prototype") public class DefaultApp extends App implements ConnectionListener, UserSubstitutionListener
App
implementation that shows AppLoginWindow
on start.
Supports SSO through external authentication.APP_THEME_COOKIE_PREFIX, COOKIE_LOCALE, NAME, USER_SESSION_ATTR
Constructor and Description |
---|
DefaultApp() |
Modifier and Type | Method and Description |
---|---|
void |
connectionStateChanged(Connection connection) |
boolean |
loginOnStart() |
void |
userSubstituted(Connection connection) |
addBackgroundTask, addCookie, addCookie, cleanupBackgroundTasks, closeAllWindows, createTopLevelWindow, createTopLevelWindow, getAppLog, getAppUI, getAppUIs, getClientAddress, getConnection, getCookieMaxAge, getCookieValue, getExceptionHandlers, getInstance, getLocale, getPrincipal, getThemeConstants, getTopLevelWindow, getWebResourceTimestamp, getWindowManager, isBound, logout, logout, navigateTo, onHeartbeat, pingExternalAuthentication, removeBackgroundTask, removeCookie, setLocale, setUserAppTheme
public void connectionStateChanged(Connection connection) throws LoginException
connectionStateChanged
in interface ConnectionListener
LoginException
public boolean loginOnStart()
loginOnStart
in class App
public void userSubstituted(Connection connection)
userSubstituted
in interface UserSubstitutionListener