Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "spring security"
-
!(short rant)
Look I understand online privacy is a concern and we should really be very much aware about what data we are giving to whom. But when does it turn from being aware to just being paranoid and a maniac about it.? I mean okay, I know facebook has access to your data including your whatsapp chat (presumably), google listens to your conversations and snoops on your mail and shit, amazon advertises that you must have their spy system (read alexa) install in your homes and numerous other cases. But in the end it really boils down to "everyone wants your data but who do you trust your data with?"
For me, facebook and the so-called social media sites are a strict no-no but I use whatsapp as my primary chating application. I like to use google for my searches because yaa it gives me more accurate search results as compared to ddg because it has my search history. I use gmail as my primary as well as work email because it is convinient and an adv here and there doesnt bother me. Their spam filters, the easy accessibility options, the storage they offer everything is much more convinient for me. I use linux for my work related stuff (obviously) but I play my games on windows. Alexa and such type of products are again a big no-no for me but I regularly shop from amazon and unless I am searching for some weird ass shit (which if you want to, do it in some incognito mode) I am fine with coming across some advs about things I searched for. Sometimes it reminds me of things I need to buy which I might have put off and later on forgot. I have an amazon prime account because prime video has some good shows in there. My primary web browser is chrome because I simply love its developer tools and I now have gotten used to it. So unless chrome is very much hogging on my ram, in which case I switch over to firefox for some of my tabs, I am okay with using chrome. I have a motorola phone with stock android which means all google apps pre-installed. I use hangouts, google keep, google map(cannot live without it now), heck even google photos, but I also deny certain accesses to apps which I find fishy like if you are a game, you should not have access to my gps. I live in India where we have aadhar cards(like the social securtiy number in the USA) where the government has our fingerprints and all our data because every damn thing now needs to be linked with your aadhar otherwise your service will be terminated. Like your mobile number, your investment policies, your income tax, heck even your marraige certificates need to be linked with your aadhar card. Here, I dont have any option but to give in because somehow "its in the interest of the nation". Not surprisingly, this thing recently came to light where you can get your hands on anyone's aadhar details including their fingerprints for just ₹50($1). Fuck that shit.
tl;dr
There are and should be always exceptions when it comes to privacy because when you give the other person your data, it sometimes makes your life much easier. On the other hand, people/services asking for your data with the sole purpose of infilterating into your private life and not providing any usefulness should just be boycotted. It all boils down to till what extent you wish to share your data(ranging from literally installing a spying device in your house to them knowing that I want to understand how spring security works) and how much do you trust the service with your data. Example being, I just shared most of my private data in this rant with a group of unknown people and I am okay with it, because I know I can trust dev rant with my posts(unlike facebook).29 -
My biggest challenge has been moving away from an unmaintainable Java/Tomcat/Spring Security application server to a Node.js/Express application server. That handles single sign on and two factor authentication. In 2 weeks.
I'm a front end dev. I'm sure it's fine 😓6 -
For all the hate that Java gets, this *not rant* is to appreciate the Spring Boot/Cloud & Netty for without them I would not be half as productive as I am at my job.
Just to highlight a few of these life savers:
- Spring security: many features but I will just mention robust authorization out of the box
- Netflix Feign & Hystrix: easy circuit breaking & fallback pattern.
- Spring Data: consistent data access patterns & out of the box functionality regardless of the data source: eg relational & document dbs, redis etc with managed offerings integrations as well. The abstraction here is something to marvel at.
- Spring Boot Actuator: Out of the box health checks that check all integrations: Db, Redis, Mail,Disk, RabbitMQ etc which are crucial for Kubernetes readiness/liveness health checks.
- Spring Cloud Stream: Another abstraction for the messaging layer that decouples application logic from the binder ie could be kafka, rabbitmq etc
- SpringFox Swagger - Fantastic swagger documentation integration that allows always up to date API docs via annotations that can be converted to a swagger.yml if need be.
- Last but not least - Netty: Implementing secure non-blocking network applications is not trivial. This framework has made it easier for us to implement a protocol server on top of UDP using Java & all the support that comes with Spring.
For these & many more am grateful for Java & the big big community of devs that love & support it. -
I inherited a nextjs project from an unknown guy and am fangirling the codebase
But the deeper I familiarise myself with it, the more the cracks begin to appear:
1) The dude Is incapable of grasping the basics of DRY concept. He actually setup a ton of stuff I may have done poorly if I'd started working straight out of the docs, so I feel like I owe him a shower of praise. I guess being new to nextjs makes it look more impressive than it actually is. He was paid off, yet getting the credit seems unearned to me. I'm just afraid reaching out to him might turn around to bite me in the ass
***
I had the above in my drafts, contemplating sending him a token to show some appreciation for unknowingly showing me the ropes. I was going to find him on LinkedIn using his commit names. But after doing everything I've done, undergoing the anxiety and severe pressure I faced at the hands of the project owners, I'm not sharing a farthing with anybody
Yes, I may not have known about zustand and persist middleware. Yes, he did all the ui. Yes, he created the base components and fancy wrappers around form and button html elements. For those, I'm grateful
But the amount of refactoring I had to do to, for an opportunity to implement my own target features, I'd say I can lay as much claim to the project as he does.
Side note #1: I have some newfound respect for front end devs. We used to discriminate against them for doing just css but that was only relevant in the jquery days. Now, they have to use cryptic css frameworks (sass, less, tailwind), they have to learn esoteric syntax of some js framework and write controllers/components as the case may be. They have to (the worst part), bind this data to an API, which would never make sense to me coming from a php ssr-natural world
Back rewarding the guy, some of the challenges I came back from were:
1) Next server outages: I still don't know the workaround this. The app terminates, browser giving an error about using up memory. I have to wait for about 10 minutes before I can access the app again
2) spring Webflux authentication not hydrating: I was unexpectedly asked to work on the back end too, where I got tortured with this horrifying condition. The most poorly documented framework for the Web has no upto date guide on how to implement jwt security measures. I opened a question on stackoverflow. A day later, both my question and the helpful answer got downvoted
3) Zustand not retrieving any data from localstorage once page reloads, until I miraculously stumbled on a hack: there's a config callback for reading state after rehydration or thereabout. So I interact with the state there. That's the only way content clearly in localstorage can get transmuted into dynamic format accessible by the code
4) Mongo database suddenly disconnecting: for no apparent reason, this bailed. Accessible on compass. This was even when I realised it was responsible for front end requests not going through. Eventually created a new database and requests surprisingly began connecting again. Thankfully, my laravel background taught me about seeders so I had them on standby from the onset. Wasn't difficult to just port to a fresh database after confirming the first one was inaccessible to the app
After this painful odyssey and the time constraints, threats of moving forward with someone else, I deserve every dime they deem me worthy of and more3 -
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.2 -
I am working on spring boot jwt project. Ive encoutered a UserDetails class name.
Why is it named UserDetails?? Where the fuck are those details??!! COZ I CANT SEE THEM
Those kind of methods can be found also in other various Services for example LocationService or UserService but none of them is called by developers for example LocationDetailsService. WHAT THE FUCK. Wouldnt it be better to name it UserSecurity???? -
Joined a startup, pretty happy with the company over-all so far truthfully. Secured a large project yesterday with higher billables so job security wise things are good. However... The project I've been working on is a mix of a Spring boot webapp and a game. Two separate applications that interact with each other.
Two teams. A home team, and an away team, plus.... 2 "AI's" to play against... Well.... whoever designed this "AI" designed it so they can only ever play as the away team. Why... every function, every method, every bit of logic is coded around what "Half" of the inning it is.... Now I had the bright idea of picking up the hardest task on the ticket list, of making these AI's be able to play as the home team.
WHAT A TASK, and to make things worse. Instead of using some kind of proper inheritance with actual structure, we have TWO COPY AND PASTED AIs where the other has more hard-coded team sided logic that needs to ALSO be adapted.
17 points my ass.
I do love my job though.4 -
!rant
Can anyone recommend me a good book or course to start learning spring framework 4??
Am tired of struggling with it, I have to
Work with the thing and I barely know what am doing most of time.
I managed to resolve a couple
Of spring security issues we had at
Work but that was through sheer dogged googling around, I want to spend some
Time learning it from Bottoms up...
I know its quite vast but what am going for is trying to learn the basics and a few of the most commonly used bits of the advanced portions then expanding my knowledge.
So any suggestions?
I hear spring in action 4 by craig wells
is nice but some reviews criticises it about not being appropriate for newbies like me.
So damn tired of silently screaming
"what the F*** is all this shit?!?" when am given spring related stuff to work on 😔5 -
When Spring Security protects exactly the opposite of what you think you asked ... But you don't know why...
-
Expert Garage Door Service: Your Trusted Choice for Garage Door Repair in Scottsdale, AZ
When it comes to maintaining the functionality of your garage door, it’s important to have a reliable service provider on hand. At Expert Garage Door Service, we understand how critical a properly functioning garage door is to your daily routine and security. Located at 5612 E Kelton Ln, Scottsdale, AZ 85254, we are your go-to experts for garage door repair near me. Whether you're dealing with a broken spring repair or need to fix broken garage door cables, our experienced technicians are ready to provide prompt, professional service.
Garage Door Repair Near Me – Fast, Reliable, and Local
Are you searching for “garage door repair near me”? Look no further! Expert Garage Door Service is based right here in Scottsdale, AZ, so we can offer fast, efficient repairs for homes and businesses in the area. We know that garage door problems can arise unexpectedly, which is why we’re committed to offering same-day services for all types of repairs. No matter the make or model of your garage door, our technicians are equipped with the knowledge and tools to handle it.
Broken Spring Repair – Get Back to Normal Fast
One of the most common issues garage door owners face is broken spring repair. The springs in your garage door play a crucial role in balancing the door and ensuring smooth operation. When they break, your garage door can become inoperable or unsafe to use. Don’t worry if you notice your garage door is not functioning properly – Expert Garage Door Service can help. We specialize in broken spring repair, offering affordable, fast, and long-lasting solutions. Our skilled technicians will assess the damage and replace the broken springs quickly, ensuring your garage door is working like new.
Broken Garage Door Cables – A Simple Fix for a Big Problem
If your garage door is making unusual noises, failing to open, or getting stuck halfway, it could be a sign of broken garage door cables. The cables are essential components that help lift and lower the garage door safely. When a cable breaks, it can cause the door to become unbalanced, posing a risk to both the door and your safety. At Expert Garage Door Service, we have extensive experience in repairing or replacing broken garage door cables. We’ll restore the proper function of your garage door, so you can enjoy the convenience and security it provides.
Why Choose Expert Garage Door Service?
Local and Reliable: We're a locally owned and operated business, meaning we’re familiar with the specific needs of Scottsdale residents and can respond quickly to garage door issues.
Experienced Technicians: Our team is highly trained and knowledgeable in all aspects of garage door repair, including broken spring repair and broken garage door cables.
Affordable Pricing: We offer competitive pricing with no hidden fees. Our goal is to provide high-quality repairs at a price that fits your budget.
Fast Service: We understand the inconvenience of a broken garage door. That’s why we offer fast, efficient service to get your garage door back in working order as quickly as possible.
Excellent Customer Service: Your satisfaction is our top priority. We’re always here to answer your questions and provide personalized service tailored to your needs.
Contact Expert Garage Door Service Today!
If you're experiencing issues with your garage door, don’t wait until it becomes a bigger problem. Contact Expert Garage Door Service today at +1 (602) 888-3639 for expert garage door repair, including broken spring repair and broken garage door cables. Our friendly team is here to assist you with all of your garage door needs in Scottsdale and the surrounding areas.
Service Areas:
Scottsdale, AZ 85254
Phoenix, AZ
Paradise Valley, AZ
And surrounding areas
At Expert Garage Door Service, we’re here to ensure your garage door is in top condition. Trust us for fast, affordable, and expert repair services every time!
1 -
Expert Garage Door Service: Professional Garage Door Tune-Up in Scottsdale, AZ
Your garage door plays a crucial role in the safety and functionality of your home or business. It’s one of the most frequently used parts of your property, and over time, regular use can cause wear and tear on its components. To ensure that your garage door remains in top working condition, it’s essential to have it properly maintained with a garage door tune-up. At Expert Garage Door Service, we provide expert garage door tune-up services in Scottsdale, AZ, and the surrounding areas. Our goal is to keep your garage door operating smoothly, extend its lifespan, and prevent costly repairs down the road.
What Is a Garage Door Tune-Up?
A garage door tune-up is a comprehensive service that involves inspecting, cleaning, and adjusting various components of your garage door system. Regular tune-ups are essential for maintaining optimal performance and ensuring that all parts of your garage door are functioning correctly. Just like a car needs regular oil changes and maintenance, your garage door requires periodic inspections and adjustments to keep it running smoothly.
Why Is a Garage Door Tune-Up Important?
There are several key reasons why a garage door tune-up is an essential service for your home or business:
1. Prevent Unexpected Breakdowns
A garage door tune-up helps identify potential issues before they become major problems. By catching issues early, such as worn-out springs or misaligned tracks, you can avoid costly repairs or complete system failure. Regular maintenance ensures that your garage door operates smoothly and reliably for years to come.
2. Extend the Lifespan of Your Garage Door
With routine tune-ups, your garage door and its components will last longer. By keeping springs, cables, tracks, and openers in good condition, you can delay the need for replacements and save money on long-term repairs. A well-maintained garage door can last anywhere from 15 to 30 years, depending on the quality of the system and how well it is cared for.
3. Enhance Safety and Security
A malfunctioning garage door can be a safety hazard. Worn-out springs or cables can lead to the door unexpectedly falling, which could cause injury or property damage. A garage door tune-up ensures that all safety features, such as auto-reverse functions and sensors, are working correctly, protecting both your family and your property.
4. Improve Performance
Regular maintenance ensures that your garage door operates efficiently. A well-tuned system runs more quietly, opens and closes more smoothly, and uses less energy. If your garage door is noisy or struggles to open, a tune-up can often resolve these issues, making your door work like new.
5. Increase Energy Efficiency
If your garage door isn’t sealed properly or its insulation is damaged, it can cause energy loss. A tune-up includes checking the seals and weather stripping around your door to ensure it’s properly insulated, helping you save on energy bills by keeping your home better protected from outdoor temperatures.
What Does a Garage Door Tune-Up Include?
At Expert Garage Door Service, we provide a thorough and detailed garage door tune-up that includes the following:
1. Visual Inspection
Our technicians will perform a complete visual inspection of your garage door system, looking for any signs of wear or damage. We check the tracks, springs, cables, rollers, and other components to identify any potential issues.
2. Lubrication of Moving Parts
We apply high-quality lubricants to the moving parts of your garage door, such as the rollers, hinges, and springs. Lubricating these components reduces friction, prevents premature wear, and ensures smoother operation.
3. Spring and Cable Tension Adjustment
Proper spring tension is essential for the safe operation of your garage door. We’ll inspect the springs and cables and make any necessary adjustments to ensure they’re properly tensioned. This helps maintain balanced operation and prevents unnecessary strain on your opener and other components.
4. Track Alignment and Adjustment
Misaligned tracks can cause your garage door to move unevenly or get stuck. We’ll inspect and adjust the tracks to ensure they’re properly aligned, which will keep your door moving smoothly without resistance.
5. Opener Adjustment
Your garage door opener is the heart of the system. During a tune-up, we’ll inspect the opener and adjust its settings to ensure it operates at peak performance. This includes checking the force settings, travel limits, and safety features.
1
