How can you encode credentials in Base64 via UCCX editor (UCCX 9.0(2) Premium)?
We have successfully authenticated but the only way we were able to figure out how was to manually encode (see below):
java.net.URLConnection c = new java.net.URL("http://192.168.1.111/adminapi/campaign").openConnection(); c.setDoInput(true); c.setRequestProperty("Authorization","Basic dWNjeGFkbWluOmlwY3NjMTI="); c.connect();
Does anyone know how to complete this authentication without manually encoding? Any help/input is appreciated! Thanks!
Swapping out "username" and "password" for better strings or variables.
I should mention that in my IDE this 'xerces' class is flagged as 'propriety, internal and may be removed from Java in a future release'... however it's still there in JDK 8 so I wouldn't sweat it too much. The other option is you'd have to load up another API or google an example of manual encoding (there are some) but this is a good one-liner.
Please rate helpful posts..
Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
IntroductionCUCM Routing RulesDial String implementation PolicyCUCM Routing LogicSIP URI Call Routing Analysis+++ Case Study: 1 ++++++ Case Study: 2 +++Conclusion
Over the last few months, I have had the privilege of working on SI...
Are you getting this error “Installer User Interface Mode Not Supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The value UI mode identifiers...