com.sap.security.core.server.destinations.api

Interface RFCDestination

All Superinterfaces:
Destination, Serializable

public interface RFCDestination
extends Destination

Externally visible RFC Destination interface.


Field Summary
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 CONNECTION_MODE
           
static String CONNECTION_MODE_DIRECT_CONNBECTION
           
static String CONNECTION_MODE_LOAD_BALANCING
           
static String POOL_MODE
           
static String POOL_MODE_POOLED
           
static String POOL_MODE_SINGLE
           
static String REPOSITORY_DESTINATION_THIS
           
 
Method Summary
 Properties getJCoProperties()
          Retrieve properties to be given to JCo
 int getMaxPoolSize()
          Return the maximum size of the pool
 long getMaxWaitTime()
          Returns the maximum time to wait in a connection request for a free connection.
 String getRepositoryAuthenticationDestination()
          Return the name of the destination to be used for authentication at the repository
 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
 
Methods inherited from interface com.sap.security.core.server.destinations.api.Destination
getDestinationProperties, getName, init, isPublishedToLCR, publishToLCR, setDestinationProperties, setName
 

Field Detail

AUTHENTICATION_MODE

public static final String AUTHENTICATION_MODE
See Also:
Constant Field Values

AUTHENTICATION_MODE_CURRENT_USER

public static final String AUTHENTICATION_MODE_CURRENT_USER
See Also:
Constant Field Values

AUTHENTICATION_MODE_CONFIGURED_USER

public static final String AUTHENTICATION_MODE_CONFIGURED_USER
See Also:
Constant Field Values

AUTHENTICATION_MODE_CURRENT_USER_ASSERTION_TICKET

public static final String AUTHENTICATION_MODE_CURRENT_USER_ASSERTION_TICKET
See Also:
Constant Field Values

CONNECTION_MODE

public static final String CONNECTION_MODE
See Also:
Constant Field Values

CONNECTION_MODE_LOAD_BALANCING

public static final String CONNECTION_MODE_LOAD_BALANCING
See Also:
Constant Field Values

CONNECTION_MODE_DIRECT_CONNBECTION

public static final String CONNECTION_MODE_DIRECT_CONNBECTION
See Also:
Constant Field Values

POOL_MODE

public static final String POOL_MODE
See Also:
Constant Field Values

POOL_MODE_SINGLE

public static final String POOL_MODE_SINGLE
See Also:
Constant Field Values

POOL_MODE_POOLED

public static final String POOL_MODE_POOLED
See Also:
Constant Field Values

REPOSITORY_DESTINATION_THIS

public static final String REPOSITORY_DESTINATION_THIS
See Also:
Constant Field Values
Method Detail

getJCoProperties

public Properties getJCoProperties()
                            throws IllegalStateException
Retrieve properties to be given to JCo

Returns:
Properties object suitable for Jco usage
Throws:
IllegalStateException - Properties cannot be determined (e.g. "current user authentication" but no logon ticket available).

setJcoProperties

public void setJcoProperties(String authenticationMode,
                             String connectionMode,
                             Properties jcoProperties)
Set the properties for a connection

Parameters:
authenticationMode - use RFCDestination.CONNECTION_MODE_LOAD_BALANCING for loadbalancing or RFCDestination.CONNECTION_MODE_DIRECT_CONNBECTION for a direct connection to an application server
connectionMode - use RFCDestination.AUTHENTICATION_MODE_CURRENT_USER for using SAP logon tickets or RFCDestination.AUTHENTICATION_MODE_CONFIGURED_USER for username/password
jcoProperties - the jco properties containing connection data, credentials etc.

setJcoProperties

public void setJcoProperties(String authenticationMode,
                             String connectionMode,
                             String poolMode,
                             Properties jcoProperties)
Set the properties for a connection

Parameters:
authenticationMode - use RFCDestination.CONNECTION_MODE_LOAD_BALANCING for loadbalancing or RFCDestination.CONNECTION_MODE_DIRECT_CONNBECTION for a direct connection to an application server
connectionMode - use RFCDestination.AUTHENTICATION_MODE_CURRENT_USER for using SAP logon tickets or RFCDestination.AUTHENTICATION_MODE_CONFIGURED_USER for username/password
poolMode - use RFCDestination.POOL_MODE_SINGLE for connection without pooling and RFCDestination.POOL_MODE_POOLED for pooled connections
jcoProperties - the jco properties containing connection data, credentials etc.

getMaxPoolSize

public int getMaxPoolSize()
Return the maximum size of the pool

Returns:

getMaxWaitTime

public long getMaxWaitTime()
Returns the maximum time to wait in a connection request for a free connection. This value will be used for new pools created by the pool manager.

Returns:

getRepositoryAuthenticationDestination

public String getRepositoryAuthenticationDestination()
Return the name of the destination to be used for authentication at the repository

Returns:


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.