Constructor and Description |
---|
BmContextImpl(SecurityContext securityContext,
javax.sql.DataSource dataSource,
java.util.Map<java.lang.String,javax.sql.DataSource> mailboxDataSource) |
Modifier and Type | Method and Description |
---|---|
java.util.List<javax.sql.DataSource> |
getAllMailboxDataSource() |
javax.sql.DataSource |
getDataSource() |
javax.sql.DataSource |
getMailboxDataSource(java.lang.String datalocation) |
SecurityContext |
getSecurityContext() |
IServiceProvider |
getServiceProvider() |
IServiceProvider |
provider() |
BmContext |
su() |
BmContext |
su(java.lang.String userUid,
java.lang.String domainUid) |
BmContext |
su(java.lang.String sid,
java.lang.String userUid,
java.lang.String domainUid) |
java.lang.String |
toString() |
BmContext |
withRoles(java.util.Set<java.lang.String> roles) |
public BmContextImpl(SecurityContext securityContext, javax.sql.DataSource dataSource, java.util.Map<java.lang.String,javax.sql.DataSource> mailboxDataSource)
public SecurityContext getSecurityContext()
getSecurityContext
in interface BmContext
public javax.sql.DataSource getDataSource()
getDataSource
in interface BmContext
public IServiceProvider getServiceProvider()
getServiceProvider
in interface BmContext
public IServiceProvider provider()
public BmContext su(java.lang.String userUid, java.lang.String domainUid)
public BmContext su(java.lang.String sid, java.lang.String userUid, java.lang.String domainUid)
public java.lang.String toString()
toString
in class java.lang.Object
public BmContext withRoles(java.util.Set<java.lang.String> roles)
public javax.sql.DataSource getMailboxDataSource(java.lang.String datalocation)
getMailboxDataSource
in interface BmContext
public java.util.List<javax.sql.DataSource> getAllMailboxDataSource()
getAllMailboxDataSource
in interface BmContext
Copyright © 2021. All Rights Reserved.