6

My workplace is still using xml based configuration, and non-spring boot projects.

So every spring boot tutorial I find feels like "Look at how easy you can get this running" and then it's just actually a toy you can't get into production.

Also it kind of bugs me that you need to be online to actually be able to initialize/create a spring boot project and every single tutorial says so.
You can make a local network m2 repository, but can one make a spring initializer service?

Either way, migrating every single project to Spring boot is a no-no,

And I'm stuck with like 5 prototypes of SSO integration from which only 2 work, and the other 3 have their own problems.

One does redirect to the login and all, but the SAML endpoint gets 404 on response when you log in.

One is on OpenID Connect, but I would need to update the project from Spring 3 to Spring 5 to get it working, which upon attempting to do seems to break everything else.

One has an external library handling the security context just the way we are accustomed to, but it only does a 401 forbidden when you go without logging in and I'm starting to think it is actually one of those that require you to extract the token or something manual like that, which wouldn't work for us

The other two are spring boot tutorials that worked out of the box, both SAML and OpenID, still can't use those for the main projects.

I'm tired of dealing with this configuration hell, been two months at this, I want to get features done as usual, not be stuck configuring stuff that might or might not work.

Rant aside, I think I figured I need to use a different Security adapter, but I needed to vent.

Comments
  • 1
    There used to be a 200k lines XML file at my work.

    It was so big that you could basically only edit it in vim/emacs (everything else would crash).

    Syntax highlighting didn't even work in vim because of its sheer size..
  • 1
    Dude, the initializr is just a tool to help you get started. You dont have to use it to create a spring boot project, and you almost certainly wouldn't use it if migrating from elsewhere anyway.

    Regardless, XML configuration for spring needs to die. I didn't even use it until it was annotation based - it's simply too hard to follow the code otherwise. Annotations are the only thing that make sense in this day and age.
Add Comment