public abstract class AbstractDestinationsRetrieverSource extends Object
| Constructor and Description |
|---|
AbstractDestinationsRetrieverSource(int source,
String key,
String desc) |
| Modifier and Type | Method and Description |
|---|---|
abstract IConnection |
getConnection(com.sap.security.api.IUser user,
String destinationName)
Gets Connector Framework connection to the back-end to a given destination name
|
abstract IConnection |
getConnection(com.sap.security.api.IUser user,
String destinationName,
DestinationFilter destinationFilter)
Gets Connector Framework connection to the back-end to a given destination name matching the destination filter
|
abstract IConnection |
getConnection(com.sap.security.api.IUser user,
String destinationName,
DestinationFilter destinationFilter,
String forcedUserName,
String forcedPassword)
Gets Connector Framework connection to the back-end to a given destination name matching the destination filter.
|
abstract IConnection |
getConnection(com.sap.security.api.IUser user,
String destinationName,
String forcedUserName,
String forcedPassword)
Gets Connector Framework connection to the back-end to a given destination name.
|
abstract IConnection |
getConnectionWithOverridingProps(com.sap.security.api.IUser user,
String destinationName,
DestinationFilter destinationFilter,
Map<String,Object> overridingConnectionSpecProps)
Gets Connector Framework connection to the back-end to a given destination name matching the destination filter.
|
abstract IConnection |
getConnectionWithOverridingProps(com.sap.security.api.IUser user,
String destinationName,
Map<String,Object> overridingConnectionSpecProps)
Gets Connector Framework connection to the back-end to a given destination name matching the destination filter.
|
String |
getDescription() |
abstract Vector<String> |
getDestinationsNames(com.sap.security.api.IUser user,
int typeFilterMask)
Returens list of destination names matching given type filter mask
|
abstract IDestinationWrapper |
getDestinationWrapper(com.sap.security.api.IUser user,
String destinationName)
Gets a destination wrapper by the destination name
|
String |
getKey()
Returns the destination retriever source key
|
int |
getSource() |
abstract boolean |
supportsType(int type)
Indicates whether the destination retriever holds instnaces of a given
back-end type
|
public int getSource()
IDestinationWrapperpublic String getDescription()
public abstract Vector<String> getDestinationsNames(com.sap.security.api.IUser user, int typeFilterMask)
user - User asking for destination namestypeFilterMask - type filter mask (client may filter by more than
1 value by using the | operator)String)public abstract IConnection getConnection(com.sap.security.api.IUser user, String destinationName) throws PortalDestinationsServiceException
user - User to connect withdestinationName - the name of the destination to connect toIConnection to the back-endPortalDestinationsServiceException - when fail to get a connection
(e.g. no such destination name in the source repository, rejection from the
back-end etcpublic abstract IConnection getConnection(com.sap.security.api.IUser user, String destinationName, DestinationFilter destinationFilter) throws PortalDestinationsServiceException
user - User to connect withdestinationName - the name of the destination to connect todestinationFilter - filter of the source, type and SAP typeIConnection to the back-endPortalDestinationsServiceException - when fail to get a connection
(e.g. no such destination name in the source repository, rejection from the
back-end etcpublic abstract IConnection getConnection(com.sap.security.api.IUser user, String destinationName, String forcedUserName, String forcedPassword) throws PortalDestinationsServiceException
user - logged-on user to connect withdestinationName - the name of the destination to connect toforcedUserName - user name to connect with to the back-endforcedPassword - password to connect with to the back-endIConnection to the back-endPortalDestinationsServiceException - when fail to get a connection
(e.g. no such destination name in the source repository, rejection from the
back-end etcpublic abstract IConnection getConnection(com.sap.security.api.IUser user, String destinationName, DestinationFilter destinationFilter, String forcedUserName, String forcedPassword) throws PortalDestinationsServiceException
user - logged-on user to connect withdestinationName - the name of the destination to connect todestinationFilter - filter of the source, type and SAP typeforcedUserName - user name to connect with to the back-endforcedPassword - password to connect with to the back-endIConnection to the back-endPortalDestinationsServiceException - when fail to get a connection
(e.g. no such destination name in the source repository, rejection from the
back-end etcpublic abstract IConnection getConnectionWithOverridingProps(com.sap.security.api.IUser user, String destinationName, Map<String,Object> overridingConnectionSpecProps) throws PortalDestinationsServiceException
overridingConnectionSpecPropsuser - logged-on user to connect withdestinationName - the name of the destination to connect tooverridingConnectionSpecProps - Map for key-value pairs to override the definition of as defined in the sourceIConnection to the back-endPortalDestinationsServiceException - when fail to get a connectionpublic abstract IConnection getConnectionWithOverridingProps(com.sap.security.api.IUser user, String destinationName, DestinationFilter destinationFilter, Map<String,Object> overridingConnectionSpecProps) throws PortalDestinationsServiceException
overridingConnectionSpecPropsuser - logged-on user to connect withdestinationName - the name of the destination to connect todestinationFilter - filter of the source, type and SAP typeoverridingConnectionSpecProps - Map for key-value pairs to override the definition of as defined in the sourceIConnection to the back-endPortalDestinationsServiceException - when fail to get a connectionpublic abstract IDestinationWrapper getDestinationWrapper(com.sap.security.api.IUser user, String destinationName)
user - to get the destination name withdestinationName - destination name to get the destination wrapper forIDestinationWrapper for the destination name,
null if no such destination name existspublic abstract boolean supportsType(int type)
type - type of the destinationtrue if the destination retriver supports the
back-end type, otherwise falsepublic String getKey()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-CONNECTIVITY
|
[sap.com] tc/ep/connectivity/api
|
api
|
EP-VC-CON
|
[sap.com] EP-CONNECTIVITY
|
[sap.com] tc/ep/connectivity/lib/api
|
api
|
EP-VC-CON
|
[sap.com] EP-CONNECTIVITY
|
[sap.com]
|
api
|
EP-VC-CON
|
Copyright 2021 SAP SE Complete Copyright Notice