public class BackingRepositoryLifecycleManagerAuthenticationSuccessListener extends Object implements org.springframework.context.ApplicationListener, org.springframework.core.Ordered
OrderedAuthenticationListener
that invokes IBackingRepositoryLifecycleManager.newTenant()
and
IBackingRepositoryLifecycleManager.newUser()
. This listener fires either on interactive or
non-interactive logins.Constructor and Description |
---|
BackingRepositoryLifecycleManagerAuthenticationSuccessListener() |
Modifier and Type | Method and Description |
---|---|
org.pentaho.platform.api.repository2.unified.IBackingRepositoryLifecycleManager |
getLifecycleManager() |
int |
getOrder() |
org.pentaho.platform.api.engine.ISecurityHelper |
getSecurityHelper() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
void |
setLifecycleManager(org.pentaho.platform.api.repository2.unified.IBackingRepositoryLifecycleManager lifecycleManager)
Sets the
IBackingRepositoryLifecycleManager to be used by this instance |
void |
setOrder(int order) |
void |
setSecurityHelper(org.pentaho.platform.api.engine.ISecurityHelper securityHelper)
Sets the
ISecurityHelper to be used by this instance. |
public BackingRepositoryLifecycleManagerAuthenticationSuccessListener()
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setOrder(int order)
public org.pentaho.platform.api.repository2.unified.IBackingRepositoryLifecycleManager getLifecycleManager()
IBackingRepositoryLifecycleManager
that this instance will use. If none has been
specified, it will default to getting the information from PentahoSystem.get()
public void setLifecycleManager(org.pentaho.platform.api.repository2.unified.IBackingRepositoryLifecycleManager lifecycleManager)
IBackingRepositoryLifecycleManager
to be used by this instancelifecycleManager
- the lifecycle manager to use (can not be null)public org.pentaho.platform.api.engine.ISecurityHelper getSecurityHelper()
ISecurityHelper
used by this instance. If none has been specified, it will default to
using the SecurityHelper
singleton.public void setSecurityHelper(org.pentaho.platform.api.engine.ISecurityHelper securityHelper)
ISecurityHelper
to be used by this instance. This can not be null
securityHelper
- the ISecurityHelper
to be used by this instanceCopyright © 2019 Hitachi Vantara. All rights reserved.