CubaAuthProvider
.@Deprecated
@Component(value="cuba_LegacyLoginEventsForwarder")
public class LegacyLoginEventsForwarder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected CubaAuthProvider |
authProvider
Deprecated.
|
static java.lang.String |
EXTERNAL_PRINCIPAL_ATTRIBUTE
Deprecated.
|
static java.lang.String |
LOGIN_ON_START_ATTRIBUTE
Deprecated.
|
protected WebAuthConfig |
webAuthConfig
Deprecated.
|
Constructor and Description |
---|
LegacyLoginEventsForwarder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appInitialized(AppInitializedEvent event)
Deprecated.
|
protected void |
appStarted(AppStartedEvent event)
Deprecated.
|
protected java.security.Principal |
getSessionPrincipal()
Deprecated.
|
protected boolean |
isTryLoginOnStart()
Deprecated.
|
protected void |
onSessionSubstituted(UserSessionSubstitutedEvent event)
Deprecated.
|
protected void |
pingExternalAuthentication(SessionHeartbeatEvent event)
Deprecated.
|
protected void |
redirectToExternalAuthentication(AppLoggedOutEvent event)
Deprecated.
|
protected void |
setSessionPrincipal(java.security.Principal principal)
Deprecated.
|
protected void |
setTryLoginOnStart(boolean tryLoginOnStart)
Deprecated.
|
protected void |
userConnected(UserConnectedEvent event)
Deprecated.
|
public static final java.lang.String EXTERNAL_PRINCIPAL_ATTRIBUTE
public static final java.lang.String LOGIN_ON_START_ATTRIBUTE
@Inject protected CubaAuthProvider authProvider
@Inject protected WebAuthConfig webAuthConfig
@Order(value=110) @EventListener protected void userConnected(UserConnectedEvent event)
@Order(value=110) @EventListener protected void appStarted(AppStartedEvent event)
@Order(value=110) @EventListener protected void appInitialized(AppInitializedEvent event)
@Order(value=110) @EventListener protected void onSessionSubstituted(UserSessionSubstitutedEvent event)
@Order(value=110) @EventListener protected void pingExternalAuthentication(SessionHeartbeatEvent event)
@Order(value=110) @EventListener protected void redirectToExternalAuthentication(AppLoggedOutEvent event)
protected boolean isTryLoginOnStart()
protected void setTryLoginOnStart(boolean tryLoginOnStart)
protected java.security.Principal getSessionPrincipal()
protected void setSessionPrincipal(java.security.Principal principal)