How can we use/integrate keycloak in web application that is built on Java 6, Spring 3.0 and WebSphare Portal 6.1 and LDAP? - keycloak

We have an existing web applications that uses jdk6, ldap, spring 3.0, Oracle 12c and running on WebSphare Portal 6.1 server.
I have to integrate Keycloak as SSO for our existing web application so please suggest which version of keycloak can be used or supports above mentioned tech stacks?
As I am new to the Keycloack so not able to find out how to start with

Related

How to secure an existing Asp.Net project with ADFS

I have a big project in asp.net and I want to embed ADFS in it for authentication purpose.
Please suggest some links.
Thanks
Just to clarify:
You don't embed ADFS in an ASP.NET application. You add WIF or OWIN to the application and bind this with ADFS which sits on a Windows server. The latest version is ADFS 3.0 on Windows Server 2012 R2.
How To: Build Claims-Aware ASP.NET Web Forms Application Using WIF
WS-Federation in Microsoft OWIN Components–a quick start
OWIN is the newer technology.
And then you bind your application to ADFS.
Building a test claims-aware ASP.NET application and integrating it with ADFS 2.0 Security Token Service (STS)

Waffle Authentication using Tomcat on Linux

UseCase:
I will be looking at possible ways to achieve SSO with a Java (Spring based) web app where users belong to a Windows domain and where the users (and their credentials) gets stored in a Windows Active Directory (against which authentication gets performed).
Technologies used: Spring Security 3 integrated with Waffle API
Error Description:
I am facing issues while authenticating the users when my web application (Spring Security 3 integrated with Waffle API) get deployed on Tomcat under Linux Environment.
But my Authentication works fine when i deploy my application under the Windows Environment (Tomcat Server on Windows).
I am getting the following error message on Linux Environment:
java.lang.NoClassDefFoundError: Could not initialize class
com.sun.jna.platform.win32.Advapi32 at
waffle.windows.auth.impl.WindowsAuthProviderImpl.
logonDomainUserEx(windowsAuthProviderImpl.java:170
Is there any workaround for Waffle API to authenticate the users based on windows AD by having that application deployed on Linux Environments (tomcat server on Linux environment)? Or is there any other way to achieve my above use case having my application deployed on Tomcat Server under Linux Box?
Waffle can not be used from a Linux box, as it communicates with the native Windows API.
You would need to use Spring Kerberos.
As per Waffle's documentation:
While Waffle makes it ridiculously easy to do Windows Authentication in Java, on Windows, Waffle does not work on *nix.

Jboss security with SPNEGO vs Spring Security for windows single sign on

We currently have JBOSS EAP 5.1 and a Spring web application (Spring+JSF+Spring Web Flow) working with Spring Security.
We are looking to implement single sign-on in windows env and see that it is achievable with JBOSS + SPNEGO. If I do that, would my code be redundant with Spring Security?
Are there any additional advantages If I use spring security?

Web Services in old JBoss 3.2.3.GA

We have an old JBoss 3.2.3 server which hosted an application and exposed EJBs for remote access.
This application has only received minor maintenance in years, and we did not put some effort to migrate it to newer releases of the app server.
Now, we are integrating it with another application, and we have a requirement to also expose SOAP Web Services.
At first, I wasn't worried, since JBoss 3.2.3 announces compliance with the J2EE 1.4 spec (JSR151), which specifies the APIs for web services: web services (JSR109) and JAXRPC (JSR101).
However, my first deploy using the JAX-RPC api failed, because JBoss did not find the JAX-RPC classes.
So my questions are:
Is JBoss 3.2.3 really a J2EE 1.4 app server ? The lack of JAX-RPC classes seem to indicate otherwise.
What are the APIs for exposing a web services in JBoss 3.2.3 ?
What are the APIs for consuming a web services from an EJB deployed in JBoss 3.2.3 ?
In the end, I can always deploy additional APIs and libraries with my application, but I'd like to avoid overlapping existing libraries.
JBoss 3.2.3.GA is not a fully compliant J2EE 1.4 server. For instance, it does not implement the EJB 2.1 interface, only EJB 2.0 [1].
Also, JBoss 4.0 announces being the first J2EE 1.4 compliant server; I conclude that JBoss.org did not certify JBoss 3.2.3 as compliant.
Even though not-compliant, JBoss 3.2.3 has some features for consuming SOAP Web-Services. For instance, it ships with Apache Axis 1.1 and JAX-RPC apis, so one can easily generate java classes for a WS client outside the server and have them run in an enterprise app.
Exposing web services is a more difficult task. One way of exposing web services is to create a Stateless EJB and expose it as a webservice endpoint. However, that's part of the EJB2.1 spec, which is not available in 3.2.3.
Too bad ! In the end, we will look for other alternatives in exposing our web services.
The newer JavaEE specs and servers are so much easier to develop for. It's the old specs and servers that gave JavaEE a bad rep.

Hosting Asp.net application in JBOSS server

I have jboss application server installed on windows operating system. Is it possible to deploy asp.Net application on jboss without using IIS. If yes, How to do this?.
Please help me...
Regards
Nasir
No, it's not possible. JBoss is a JavaEE application server (container), not a .Net server, so you can't. If you're looking for an alternative to IIS to deploy .Net applications you can check the mono project.
And in this page you've more information about how to install mono and deploy applications.