Grails 3 Container Managed Authentication - grails

I am trying to upgrade my existing grails application from version 2.5.6 to 3.3.11.
So far, container managed application was configured in the application via web.xml, with <login-config>. Here is the configuration:
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login/login</form-login-page>
<form-error-page>/login/login_error</form-error-page>
</form-login-config>
</login-config>
As grails 3 has stopped supporting web.xml file, I am wondering how to maintain Container Managed Authentication. The reason for using Container Managed Authentication (CMA) is that our application doesn't want to handle the authentication process, as different customers have different authentication mechanisms at their end. So we prefer CMA.
Have read many online forums, they all end up with Spring Security plugin. But didn't find a configuration with Spring Security which gives control of authentication to the container.
So, how to configure CMA with Grails 3?

Related

How does jetty server with ssh modules mix webflux functional endpoint module?

I have a jetty server running some ssh (spring-struts2-hibernate) modules. It's typically config by a web.xml file. Now I want all new module to use spring-webflux techique with functional endpoints. All ssh modules must keep running. How to mix the new webflux module to this jetty server?

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.

not able to add spring security in a spring mvc application

I added spring security to my spring application , added jars are spring security config,spring security security web and spring security core, still it is showing ' enable web security' annotation as cannot be resolved as a type.
i used web.xml, applicationcontext.xml, and annotations. Now i added a new class which contains spring security annotations.
This is because of spring security config jar 3.0 release , i updated to 3.2 then it is working .

Spring Security and WebLogic 12c security realm

I have Spring Boot beased web application using Spring Security 4.0.2 for authentication. My app deployed to WebLogic 12c with configured security realm.
I want to configure Spring Security authorization through WebLogic security realm.
I tried finding in net but unable to get any working and actual samples which explains the Weblogic/Spring-Sec working together.
I need Spring Security java configuration sample for WebLogic security realm.
Can anyone help me with this issue?

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