I have successfully working the snmp4j sample agent.
http://www.snmp4j.org/agent/doc/org/snmp4j/agent/example/SampleAgent.html
This works with snmp v3 but what must I change to get the agent working with snmp v2 instead of v3?
An alternative solution with a derived class of the BaseAgent is also welcome.
Iam using the snmp4j agent version 2.5.3
Thank you in advance
Related
I have an on-premise CRM 2016 system that uses Active Directory and when I attempt to access the OData API from a desktop app, using network credentials, I get an un-authorised message.
After looking into this it would appear that I need to authenticate using OAuth which in turn would require installing AD Federation Services.
Before going down this path I would like to know if this is the correct approach to take?
I've been able to find plenty of examples on how to acheieve this using CRM online/Azure AD, but not much for on-premise 2016.
If your desktop app built on .NET framework and runs in the same local network as your CRM server then you can use XRM Tooling SDK instead.
https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/dn689057%28v%3dcrm.8%29
This SDK lets you create a CrmServiceClient object using a connection string from your configuration file. This object implements the IOrganization interface which means it has the CRUD methods you can use against your CRM.
CrmServiceClient service = new CrmServiceClient(ConfigurationManager.ConnectionStrings["mycrmconnstr"].ConnectionString);
Yes, that's the way to make it work with CRM On-Premise.
You will have to install and configure ADFS (according to documentation ADFS 3.0 is the latest version supported). Once everything is set up, the overall process is quite similar to when you're doing it in Online with AAD:
Register application
Add-AdfsClient -ClientId <CLIENT_ID> -Name <APP_NAME> -RedirectUri <REDIRECT_URI>
Grant application permission to CRM
Grant-AdfsApplicationPermission -ClientRoleIdentifier <CLIENT_ID> -ServerRoleIdentifier <CRM_URI>
Connect using Authorization Code Grant
Authorization Code is the only flow implemented in ADFS 3.0 (that's why I mentioned it before) so don't waste 4 o 5 hours trying to use Implicit like I did :(. ADFS 4.0 implements it (along with Client Credential and Resource Owner Password Credentials but in theory is not supported (although I've seen it working).
As you said the process is not well documented but you'll find some questions on forums or some blog post that will help you. I found THIS one very helpful, even though is not Dynamics related.
I want to set up a standalone yubikey otp validation server in windows.Can anyone please help me with the steps I can follow in windows.
Thanks.
I have just written a standalone validation server in Python with Django. I did not test it on Windows, but given the dependencies it requires, there shouldn't be any problem.
The official YubiKey Validation Server (YK-VAL) installation steps apply to any GNU/Linux-like system and Ubuntu 14.04 LTS is recommended. A Windows setup guide is not available.
Instead of setting up your own validation server, you could use Yubico's YubiCloud web service for verifying OTPs.
Additionally, if you are looking for an OATH certified TOTP and/or HOTP validation server you can find a list on the OATH site.
Edit:
There is a guide for Self-hosted OTP validation available. But again, the guide uses Ubuntu as a platform, not windows.
can I use Twilio (just to send SMS) from an on premise application, without the use of additional bluemix services? I would like to have Twilio as a "starter" on bluemix, and eventually move other services to bluemix at a later point in time,...
Any suggestions?
Thanks
Twilio is an external Software-as-a-Service vendor. It's not tied to the IBM Bluemix platform. You can use Twilio from anywhere provided you can send REST API requests.
New to SMSLib.
I checked some samples and docs but did not get any ref/poc wherein I can send SMS with following set-up.
I want to send SMS from PC which is connected to internet in office network, where I am using proxy settings to connect to internet.(Basically office PC used in LAN environment)
I am not sure how to set the Modem settings in this scenario.
What i want - want to test SMS functionality in office environment and would like to send SMS to android based mobile using SMSLib library.
I have done SMSLib set-up on my PC and have all the required jars/dlls placed at proper location. So no issues related with set-up. Set-up is on windows platform.
I have written sample POC by referring some blogs/SMSLib docs. But as mentioned in points 1 and 2 above, am not getting how to write the code.
Any help/pointers in this regard highly appreciated.
Thanks in advance,
picku
I would like to use JDeveloper to connect to a jUDDIv3 registry running on JBoss SOA.
I tried:
File > New
Business Tier > Web Services > UDDI Registry Connection
Inquiry Endpoint URL: http://127.0.0.1:8080/juddiv3/services/inquiry
Perspective: Business View
Test Connection
The status box contained the following:
Testing connection with no proxy...
Contacting http://127.0.0.1:8080/juddiv3/services/inquiry
The inquiry endpoint could not be contacted. Test Failed.
Unmarshalling Error: unexpected element (uri:"urn:uddi-org:api_v2", local:"name"). Expected elements are <{urn:uddi-org:api_v3}name>,<{urn:uddi-org:api_v3}authInfo>,<{urn:uddi-org:api_v3}discoveryURLs>,<{urn:uddi-org:api_v3}categoryBag>,<{urn:uddi-org:api_v3}findQualifiers>,<{urn:uddi-org:api_v3}find_relatedBusinesses>,<{urn:uddi-org:api_v3}tModelBag>,<{urn:uddi-org:api_v3}identifierBag>
The server log shows the same unmarshalling error. It appears as though JDeveloper is trying to use the v2 api when the registry is expecting v3 calls.
The JDeveloper docs don't seem to have anything on switching the apis, nor have I found anything useful on the internet (so far).
Any ideas on how I can fix this problem?
Thanks,
Griff
jUDDI 3.2, which will be released shortly, has endpoints for UDDIv2. This should help with the interop issues with IDE tools such as Eclipses Web Tools Explorer and JDeveloper. The code is in the trunk, so if you don't want to wait, check out the code from svn and build it using maven.
Edit: it's out now. give it a shot!
We can't. JDeveloper 11g only supports UDDI v2. Apache jUDDIv3 implements only UDDI v3, and does not provide implementations for v2 or v1.
Apache jUDDI v2 implements the UDDI v2 spec, and Apache jUDDI v3 implements the v3 spec.
I don't recommend using Apache jUDDI v2.
References:
http://mail-archives.apache.org/mod_mbox/juddi-user/201101.mbox/%3C4D2C6691.1050208#gmail.com%3E
Oracle Fusion Middleware Concepts Guide for Oracle Infrastructure Web Services 11g Release 1 (11.1.1)
Introducing Oracle Infrastructure Web Services
http://docs.oracle.com/cd/E14571_01/web.1111/e15184/intro.htm