Is it possible to use keycloak with spring security? - spring-security

Without keycloak maven dependencies.
This is using okta and google. I wonder can I use spring security + ouath2 with keycloak?
https://www.baeldung.com/spring-security-openid-connect

Yes you can use withouth keycloak springboot auto-configuration
Look here: Spring Cloud Gateway with OAuth2
You can see the configuration used to connect with Keycloak
Let me know if you get your answer

Related

Integrate Spring Rest Services with Spring Security JWT deployed separately

I have a Spring JWT Project and Spring Rest Services which are deployed separately. I have to do authentication and authorization stuff by calling Spring JWT Service. I'm new to this though but I have good understanding. Any one having idea how to achieve this.
Note:
Spring 4.x, Spring Security 4.x and Hibernate 5.x with Java based configuration

JavaMelody and Spring Security

I have been developing a web app using Spring Boot and Spring Security among other things.
Everything was working well till I integrated with JavaMelody. Now, every REST API call annotated with #PreAuthorize is giving a HTTP status 404.
How can I configure JavaMelody for working with Spring Security? I followed the official guide to integrate JavaMelody in a Spring Boot app (https://github.com/javamelody/javamelody/wiki/UserGuideAdvanced#spring-boot-app) and so JavaMelody is working, but... I did not find any info about my situation.
Updated Spring Boot to 1.4.1 and now it is working.

Keycloak and spring security adapter: Company's proxy

I developed sso login with Keycloak and spring security adapter and all works fine.
But now I need to authenticate to my company's proxy all the requests to the Keycloak server, that stays out of my LAN.
I didn't find anything about this.
Please, may you give some suggestions?
Thanks
P.s. I am using Keycloak version 1.7.0-Final

Https Security Integration with Camunda BPM

I have used ldap based camunda-auth to login to the application using HttpBasicAuthenticationProvider provided by camunda, where how can I implement https login and is it supported by camunda (or) we need to use spring security?
Please send any link related or config to camunda - https implementation.
I am not sure I understood you correctly- you want to set up camunda to have TLS and additionally you want LDAP authorization?
To set up TLS, you need to configure it directly on Tomcat server.
First you need to obtain/generate certificates.
Then you need to point to those certificates in server.xml configuration file.
Just google "TLS on Tomcat". I'm sure there are hundreds of tutorials how to do this step by step.
When it comes to LDAP integration - follow documentation:
https://docs.camunda.org/manual/7.8/installation/full/tomcat/configuration/#ldap

Grails Spring Security integration with WebSphere Global Security

I recently developed a Grails application which uses Spring LDAP and Spring Security for authentication using LDAP. Its working great. But now I am trying to make it work with WebSphere 8.5 Application global security settings.
I have configured WebSphere Global Security with LDAP information and test connection and login works with LDAP users. But now I want to integrate the same with Grails.
I tried few options but it's not really going anywhere and did not find much information online.

Resources