public interface RFCDestination extends Destination
Please ensure to recognize the difference (!) between method
RFCDestination.getJCoProperties()
and method
Destination.getDestinationProperties()
. Solely the former
method RFCDestination.getJCoProperties()
is to be used for
retrieving the properties that shall be handed to JCo. The deprecated
latter method is not (!) suitable for that.
As with all destinations, please note, that all changes done to the
destination are local and not persisted in the destination service
automatically. The destination service persistence is changed solely
when method DestinationService.storeDestination
is called
for storing a new destination instance, respectively
DestinationService.updateDestination
is called for changing
an existing destination.
Modifier and Type | Field and Description |
---|---|
static String |
AUTHENTICATION_MODE |
static String |
AUTHENTICATION_MODE_CONFIGURED_USER |
static String |
AUTHENTICATION_MODE_CURRENT_USER |
static String |
AUTHENTICATION_MODE_CURRENT_USER_ASSERTION_TICKET |
static String |
AUTHENTICATION_MODE_USER_MAPPING |
static String |
CONNECTION_MODE |
static String |
CONNECTION_MODE_DIRECT_CONNBECTION |
static String |
CONNECTION_MODE_DIRECT_CONNECTION |
static String |
CONNECTION_MODE_LOAD_BALANCING |
static String |
DYN_PROP_PREFIX |
static String |
POOL_MODE |
static String |
POOL_MODE_POOLED |
static String |
POOL_MODE_SINGLE |
static String |
REPOSITORY_DESTINATION_THIS |
Modifier and Type | Method and Description |
---|---|
Properties |
getJCoProperties()
Retrieve properties to be given to JCo.
|
int |
getMaxPoolSize() |
long |
getMaxWaitTime() |
String |
getRepositoryAuthenticationDestination() |
void |
setJcoProperties(String authenticationMode,
String connectionMode,
Properties jcoProperties)
Set the properties for a connection
|
void |
setJcoProperties(String authenticationMode,
String connectionMode,
String poolMode,
Properties jcoProperties)
Set the properties for a connection
|
getDestinationProperties, getName, init, isPublishedToLCR, publishToLCR, setDestinationProperties, setName
static final String AUTHENTICATION_MODE
static final String AUTHENTICATION_MODE_CURRENT_USER
static final String AUTHENTICATION_MODE_CONFIGURED_USER
static final String AUTHENTICATION_MODE_CURRENT_USER_ASSERTION_TICKET
static final String AUTHENTICATION_MODE_USER_MAPPING
static final String CONNECTION_MODE
static final String CONNECTION_MODE_LOAD_BALANCING
static final String CONNECTION_MODE_DIRECT_CONNBECTION
static final String CONNECTION_MODE_DIRECT_CONNECTION
static final String POOL_MODE
static final String POOL_MODE_SINGLE
static final String POOL_MODE_POOLED
static final String REPOSITORY_DESTINATION_THIS
static final String DYN_PROP_PREFIX
Properties getJCoProperties() throws IllegalStateException
Please note, that this Properties Object is an internal object solely (!) suitable for being handed directly to JCo. Trying to access or modify these properties can lead to arbitrary results.
IllegalStateException
- Properties cannot be determined (e.g. "current user authentication"
but no logon ticket available).void setJcoProperties(String authenticationMode, String connectionMode, Properties jcoProperties)
connectionMode
- use RFCDestination.CONNECTION_MODE_LOAD_BALANCING
for loadbalancing or RFCDestination.CONNECTION_MODE_DIRECT_CONNECTION
for a direct connection to an application serverauthenticationMode
- use RFCDestination.AUTHENTICATION_MODE_CURRENT_USER
for using SAP logon tickets or RFCDestination.AUTHENTICATION_MODE_CONFIGURED_USER
for username/passwordjcoProperties
- the jco properties containing connection data, credentials etc.void setJcoProperties(String authenticationMode, String connectionMode, String poolMode, Properties jcoProperties)
connectionMode
- use RFCDestination.CONNECTION_MODE_LOAD_BALANCING
for loadbalancing or RFCDestination.CONNECTION_MODE_DIRECT_CONNECTION
for a direct connection to an application serverauthenticationMode
- use RFCDestination.AUTHENTICATION_MODE_CURRENT_USER
for using SAP logon tickets or RFCDestination.AUTHENTICATION_MODE_CONFIGURED_USER
for username/passwordpoolMode
- use RFCDestination.POOL_MODE_SINGLE
for connection without pooling and RFCDestination.POOL_MODE_POOLED
for pooled connectionsjcoProperties
- the jco properties containing connection data, credentials etc.int getMaxPoolSize()
long getMaxWaitTime()
String getRepositoryAuthenticationDestination()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/security/destinations/api
|
api
|
BC-JAS-SEC
|
[sap.com] J2EE-FRMW
|
[sap.com]
|
-
|
BC-JAS-SEC
|
[sap.com] J2EE-FRMW
|
[sap.com]
|
default
|
BC-JAS-SEC
|
Copyright 2018 SAP AG Complete Copyright Notice