Is there a keycloak adapter for VB.NET applications? - vb.net

We are told to investigate the implementation for login with keycloak in our existing VB.NET apps. Keycloak is developed for Java but can be used for other programming languages as well, when you use an adapter.
I found an adapter for .net, Keywin, but this is for .net web apps only. I didn't find one for VB. There is not much information about Keycloak in VB on the internet (non about an adapter for keycloak as far as I can see)...
Is there an adapter for VB available? Or is there an easy workaround to use keycloak in VB?
Any help/tips are very much appreciated! :)

Related

Should Keycloak be used in my website user registration and log in?

I am using JBoss JSF to develop a personal project, and the website needs a user registration and login feature, as many other sites do. There are lots of tutorials on how to develop a user registration component in Java EE and JPA framework. I just happened to find the KeyCloak project. It seems that KeyCloak can be used for user registration and management purpose, especially if you use JBoss to develop the application.
My question is, do I really need to use this for user registration? It seems very heavy, and I didn't find any API docs that I can refer to integrate it into my web application.
What's the best use case of Keycloak? And how to integrate it in a Java EE application? Any quickstart or tutorial for Java application would be appreciated.
The main Keycloak project includes a adapters documentation (to be used to secure clients) examples project showing how to secure a JEE application using JEE application security.
If you use Spring, there's a Spring Security adapter that support a more very flexible security implementation as well, including examples for this as well.

Authentication with Mobilefirst Java Adapter

We are working with MobileFirst 7.0 version. We want to achieve authentication using adapter based authetication process. Earlier we used HTTP Adapter and it worked. But we changed it to Java Adapter and want to acheive authentcation with Java Adapter Based authetication.
My questions are :
Is it possible?
If yes, how can we move forward?
If not, what is the alternative of doing authentication usig Java Adapter?
There is some documentation covering your question.
Here are links to get you started:
Authentication concepts in MFP 7.0: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/authentication-security/authentication-concepts/
Adapters overview: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/server-side-development/adapter-framework-overview/
Java adapters: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/server-side-development/java-adapter/
Adapter-based authentication: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/authentication-security/adapter-based-authentication/
You need to use a JavaScript adapter.
Read the documentation.
Use OAuth.
I found this blog entry, and in particular the second video answered many questions.
OAuth Blog
In all cases I have ever seen we set up a Worklight security Realm and use adapter-based authentication to authenticate to that Realm. Our OAuth-protected resources then reference that realm.
In principle we could define realms that do not depend upon a JavaScript adapter for authentication, the MFP Security model is open to extension. In practice this is probably more work than you want to do. I find that the JavaScript model is itself quite extensible, as it can call down to Java code when something complex is needed.

SSO Support for Rally RestAPI jar

I have come across a post where SSO is supported or can be used using Rally.RestApi.dll, and C#. Below is the link
How to SSO using Rally.RestApi.dll?
Excel plugin available in Rally website works fine even with SSO. Then this should even work with Java Rest API, I believe.
But I would like to know whether Rally RestAPI.jar for Java can be used for SSO enabled Rally or not.
Is there any tips or tricks that can be employed to make it work?
I want to generate a customized rally report for my team. I am using Java and RallyRestAPI.jar for this.
Please suggest & help
C#
Rally Excel and VisualStudio plugins support SSO, and the next version of dll for the .NET toolkit will eventually replace the currently available dll v2.0.1, which is a year old. The new dll will use the SSO mechanism used in Rally Visual Studio plugin, and not the one implemented in current version of Excel plugin, and eventually Excel plugin will be updated with that mechanism as well. A timeframe for all this is not available yet.
Java
There is currently no work in progress and no plans to add SSO support for Rally Rest toolkit for Java.
It means that if your Rally subscription allows either a hybrid authentication (SSO and Rally authentication) or SSO with exceptions, your java code can use basic Rally authentication. In the former case your api user account has to be added to the exceptions list by your subscription administrator.

Can you use JIRA's SOAP API in a VB.NET desktop application?

I tried using JIRA's REST API but the function that I needed wasn't there and found it at JIRA's SOAP API. A newbie like me wants to know if you can use JIRA's SOAP API in a VB.NET desktop application? Thanks!
Absolutely. The point of a SOAP service is to allow access to the data and functionality of application from another application regardless of the language it is written in. All you need is something in your program that understands how to talk to and work with a SOAP service.
I have no doubt that a VB.NET application can talk to a SOAP service without issue, but I am not a .NET programmer so I can not provide any specific guidance on how to do it.
What you will want to search for is "Consuming SOAP services with VB.NET". I did that myself and came up with some god looking tutorials.
http://www.codeproject.com/KB/vb/vbwebservice.aspx
http://www.vbdotnetheaven.com/Uploadfile/SrinivasSampath/WebServiceusingSOAPToolkit11242005002126AM/WebServiceusingSOAPToolkit.aspx
http://visualbasic.about.com/od/learnvbnet/a/LVBE_L6_3.htm
Like I said, I think everything you need will be built into the .NET framework. I don't think you will need to download anything additional or include extra libraries.

Facebook C# authentication example

Authentication examples are missing from the documentation.
Would it be possible to have an authentication example for a desktop application, not a web one?
If you're writing a desktop application, consider using Facebook PowerShell Module. I would be interested to know more about your scenario! Jon