public class JcmsJSONUtil
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
REVISION  | 
| Constructor and Description | 
|---|
JcmsJSONUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
checkDataSourceConnection(java.lang.String jcmsdb,
                         java.lang.String dataSource)
Check a DataSource connection. 
 | 
static java.lang.String | 
checkJDBCConnection(java.lang.String jcmsdb,
                   java.lang.String url,
                   java.lang.String user,
                   java.lang.String password)
Check a JDBC connection. 
 | 
static boolean | 
checkLDAPConnection(java.lang.String hostname,
                   java.lang.String port,
                   java.lang.String isSSL,
                   java.lang.String bindDN,
                   java.lang.String bindPassword)
Check a LDAP connection. 
 | 
static void | 
trackRss(java.lang.String channelSource,
        java.lang.String itemId)
process rss tracking event 
 | 
public static final java.lang.String REVISION
public static java.lang.String checkJDBCConnection(java.lang.String jcmsdb,
                                                   java.lang.String url,
                                                   java.lang.String user,
                                                   java.lang.String password)
jcmsdb - the database model (eg mysql, oracle, ...)url - a database url of the form jdbc:subprotocol:subnameuser - the database user on whose behalf the connection is being madepassword - the user's passwordpublic static java.lang.String checkDataSourceConnection(java.lang.String jcmsdb,
                                                         java.lang.String dataSource)
jcmsdb - the database model (eg mysql, oracle, ...)dataSource - the Data Sourcepublic static void trackRss(java.lang.String channelSource,
                            java.lang.String itemId)
channelSource - the url of the channelitemId - the item IDpublic static boolean checkLDAPConnection(java.lang.String hostname,
                                          java.lang.String port,
                                          java.lang.String isSSL,
                                          java.lang.String bindDN,
                                          java.lang.String bindPassword)
hostname - the hostname of the ldap server to connect to.port - the port of the ldap server to connect to.isSSL - whether the connection should be made using SSL.bindDN - the Distinguished Name to use to bind to the ldap server to
          connect to.bindPassword - the password to use to bind to the ldap server to connect to.Copyright © 2001-2018 Jalios SA. All Rights Reserved.