Blogs



Cisco Developer Network will be presenting a CDN Developer Track at Cisco Live! London the week of January 31, 2011.

We are presenting technical sessions which highlight Application Programming interfaces (APIs) and Software Developer Kits (SDKs) for Cisco technologies such as Unified Communications, IOS, and Access Routing Technologies ¿ including the new Cisco Cius ...Read More

 

Showing 1 result.

Forums

« Back to Unified Contact Center Express CTI (UCCXCTI)

issues of Java implementation in UCCX editor

Combination View Flat View Tree View
Threads [ Previous | Next ]
I cannot use 'java.security.MessageDigest' in UCCX editor.
When I use "java.security.MessageDigest" in SET value of a variable and then apply the script, SET disappear immediately from the script.
*My project requires hashing function: SHA-1 and MD5.

RE: issues of Java implementation in UCCX editor
uccx java array of byte java.security.messagedigest
Answer
11/2/10 1:19 PM as a reply to Supapong Putthayangkura.
I cannot use 'java.security.MessageDigest' in UCCX editor.
When I use "java.security.MessageDigest" in SET value of a variable and then apply the script, SET disappear immediately from the script.
*My project requires hashing function: SHA-1 and MD5.


Additional information:
As I known, an array of byte, Byte[], is not supported in UCCX editor. Bug will be occured when I use this datatype.

Download the Java Commons Codec library from: http://commons.apache.org/codec/
Upload it into UCCX Administration > Applications > Document Management > default > classpath
In UCCX Administration go to System > Custom File Configuration and move the commons codec jar file from available classpath entries to selected classpath entries.
Within the script editor you can use the following:
{ return org.apache.commons.codec.digest.DigestUtils.md5Hex(password); }
{ return org.apache.commons.codec.digest.DigestUtils.sha256(password); }

Collateral


No files available