|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.extension.session.ConnectionManagerEx
This class is responsible for supplying users with connection to MDM server It enables creation of MdmSessionContext and correspondent MDM session from the information stored in MdmDestinationProperties class.
SessionManager| Method Summary | |
static RepositorySessionContext |
connectWithRepositorySession(MdmDestinationProperties destination,
String password,
String applicationName,
int unicodeNormalizationType,
String contextIdentifier)
Create instance of RepositorySessionContext from the specified parameters. |
static RepositorySessionContext |
connectWithRepositorySession(String destinationName,
String applicationName,
int unicodeNormalizationType,
String contextIdentifier)
Create instance of RepositorySessionContext from the specified parameters. |
static ServerSessionContext |
connectWithServerSession(MdmDestinationProperties destination,
String serverPassword,
String applicationName,
String contextIdentifier)
Create instance of ServerSessionContext from the specified parameters. |
static ServerSessionContext |
connectWithServerSession(String destinationName,
String applicationName,
String contextIdentifier)
Create instance of ServerSessionContext from the specified parameters. |
static UserSessionContext |
connectWithUserSession(MdmDestinationProperties destination,
String password,
String applicationName,
String regionName,
Locale regionLocale,
int unicodeNormalizationType,
boolean useBlobCache,
String contextIdentifier)
Create instance of UserSessionContext from the data stored in MDM destination The authenticated user session for this session context is created as well and stored in cache of SessionManager All parameters excepting the 'destination' and 'password' are optional. |
static UserSessionContext |
connectWithUserSession(String destinationName,
String applicationName,
String regionName,
Locale regionLocale,
int unicodeNormalizationType,
boolean useBlobCache,
String contextIdentifier)
Create instance of UserSessionContext from the data stored in MDM destination according to the destination name The authenticated user session for this session context is created as well and stored in cache of SessionManager All parameters excepting the 'destinationName' and 'applicationName' are optional. |
static NetWeaverMdmDestinationProperties |
getMdmDestinationProperties(String destinationName)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ServerSessionContext connectWithServerSession(MdmDestinationProperties destination,
String serverPassword,
String applicationName,
String contextIdentifier)
throws ConnectionException
destination - the properties of MDM server destinationserverPassword - the server password that should be specified only if authenticationType equals to AUTHENTICATION_TYPE_BASICapplicationName - the application namecontextIdentifier - context identifier (optional), null if not defined
ConnectionException - if any connectivity problem occurs
public static RepositorySessionContext connectWithRepositorySession(MdmDestinationProperties destination,
String password,
String applicationName,
int unicodeNormalizationType,
String contextIdentifier)
throws ConnectionException
destination - the properties of MDM server destinationpassword - the password of the repository user that should be specified only if authenticationType equals to AUTHENTICATION_TYPE_BASICapplicationName - the application nameunicodeNormalizationType - the type of unicode normalizationcontextIdentifier - context identifier (optional), null if not defined
ConnectionException - if any connectivity problem occurs
public static NetWeaverMdmDestinationProperties getMdmDestinationProperties(String destinationName)
throws ConnectionException
ConnectionException
public static UserSessionContext connectWithUserSession(MdmDestinationProperties destination,
String password,
String applicationName,
String regionName,
Locale regionLocale,
int unicodeNormalizationType,
boolean useBlobCache,
String contextIdentifier)
throws ConnectionException
destination - the properties of MDM server destinationpassword - the password of the repository user that should be specified only if authenticationType equals to AUTHENTICATION_TYPE_BASICapplicationName - the application nameregionName - the region nameregionLocale - the region localeunicodeNormalizationType - the type of unicode normalizationuseBlobCache - specifies whether BlocCache should be initializedcontextIdentifier - context identifier (optional), null if not defined
ConnectionException - if any connectivity problem occurs
public static ServerSessionContext connectWithServerSession(String destinationName,
String applicationName,
String contextIdentifier)
throws ConnectionException
destinationName - the destination nameapplicationName - the application namecontextIdentifier - context identifier (optional), null if not defined
ConnectionException - if any connectivity problem occurs
public static RepositorySessionContext connectWithRepositorySession(String destinationName,
String applicationName,
int unicodeNormalizationType,
String contextIdentifier)
throws ConnectionException
destinationName - the destination nameapplicationName - the application nameunicodeNormalizationType - the type of unicode normalizationcontextIdentifier - context identifier (optional), null if not defined
ConnectionException - if any connectivity problem occurs
public static UserSessionContext connectWithUserSession(String destinationName,
String applicationName,
String regionName,
Locale regionLocale,
int unicodeNormalizationType,
boolean useBlobCache,
String contextIdentifier)
throws ConnectionException
destinationName - the destination nameapplicationName - the application nameregionName - the region nameregionLocale - the region localeunicodeNormalizationType - the type of unicode normalizationuseBlobCache - specifies whether BlocCache should be initializedcontextIdentifier - context identifier (optional), null if not defined
ConnectionException - if any connectivity problem occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 by SAP AG. All Rights Reserved.
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.