public interface IConnectionUserRoleMapper
Modifier and Type | Method and Description |
---|---|
String[] |
mapConnectionRoles(IPentahoSession userSession,
String connectionContextName)
Provides a mapping from the roles defined for a user, and roles appropriate for the connection
Rules: - If the user has no rights to the specified connectionContextName, you must throw
PentahoAccessControlException - If null or empty array is returned, then no mapping is required, and
connection can use defaults
|
Object |
mapConnectionUser(IPentahoSession userSession,
String connectionContextName)
Maps the user from the given IPentahoSession into a user (or credential) appropriate for the connection
Rules: - If the user has no rights to the specified connectionContextName, you must throw
PentahoAccessControlException - If null or empty array is returned, then no mapping is required, and
connection can use defaults
|
Object mapConnectionUser(IPentahoSession userSession, String connectionContextName) throws PentahoAccessControlException
userSession
- The users' SessionconnectionContextName
- - The connection name (maybe a datasource name, a catalog, etc)PentahoAccessControlException
String[] mapConnectionRoles(IPentahoSession userSession, String connectionContextName) throws PentahoAccessControlException
userSession
- connectionContextName
- - The connection name (maybe a datasource name, a catalog, etc)PentahoAccessControlException
Copyright © 2020 Hitachi Vantara. All rights reserved.