One of the common task while using Spring Security in a Java web application is getting the username of currently logged in user. Sometime, you need that in your controller class and sometime in JSP for view purpose, but the big question mark is how do you get the current user in Spring Security? Well, there are many ways to do it and depending upon whether you need it inside a JSP page or Controller class, you can choose them. The current user, also known as Principal in Spring Security can be obtained from the UserDetails class, which holds all details for currently logged in user. You can get this class from the SecurityContext, which in turn can be retrieved from SecurityContextHolder as shown below:
Monday, December 4, 2023
Sunday, December 3, 2023
Top 7 Books for Programming/Coding Interviews in 2024 - Best of lot
If you are preparing for Programming Job interviews and looking for some of the best books for programming questions, then you have come to the right place. In this article, I am going to share a couple of good books to prepare coding, software design, and data structure algorithm questions, which are essential for any coding interviews. Though a programming interview also explores other areas of software development, like the programming language, you would be mainly used in your project, like, C++ or Java. The database and SQL-based questions, the operating systems, and UNIX-related questions, some of the software design and object-oriented design pattern questions, and much more, but coding-based questions form the core of programming interviews.
Labels:
books
,
coding
,
interview questions
,
programming
Udemy vs CodeCademy vs Zero to Mastery Review? Which is the best place to learn Programming in 2024?
Online learning, particularly online courses, has completely changed the way people learn things as whoever I speak from beginner to professionals; everyone seems to prefer learning online. The current global situation has also accelerated the need for online learning. This is a nice change, but, with so many choices available, there is also a lot of confusion which often pops up when I discuss with my readers. One question which has been kept coming in the past is which platform to choose for learning online? CodeCademy, Udemy, or ZTM Academy? This is the most common question among all beginners mind who have just started to learn coding and programming online.
Labels:
best of javarevisited
,
online resources
,
programming
Saturday, December 2, 2023
Top 8 System Design and Software Analysis and Design Books in 2024 - Best of Lot
Hello guys, System design and Software design are two important topic for coding interviews and also two important skill for Software developers. Without knowing how to design System you cannot create new software and it will also be difficult to learn and understand existing software and system. That's why big technical companies like FAANG pays special attention to System design skill and test candidates thoroughly. If you want to learn System design and looking for best resources like best System design books and courses then you have come to the right place. Earlier, I have shared best System design online courses, as well as Software architecture courses, and common System design questions and in this article, I am going to share with you best System design books to learn Software design.
Top 10 DevOps Courses for Experienced Programmers to Learn Online in 2024 - Best of Lot
DevOps is really hot at this moment, and many job opportunities are lying for distinguished engineers and DevOps professionals. If you are an experienced Java programmer and want to become a DevOps engineer, then you have come to the right place. In this article, I am going to share some of the best online training courses you can take to become a DevOps professional. The most crucial advantage of DevOps is that it helps you to deliver better software and provide more control over your environment and software development process with the help of modern tools and automation. That's the reason the demand for DevOps professionals is growing exponentially. It's also one of the high-paying jobs along with Data Science and Machine learning specialists.
Friday, December 1, 2023
Top 8 Courses to Learn Angular Framework in 2024 - Best of Lot
If you are a Web developer or someone who wants to learn Angular for web development and looking for some excellent resources, like books, online courses, and tutorials, then you have come to the right place. In the past, I have shared some of the best Angular tutorials, and best Angular books, and today, In this article, I am going to share some of the best Angular courses to learn modern-day web development. If you don't know what Angular is and how it helps you to develop modern-day web development, let me give you a brief overview. It's a JavaScript front-end framework that allows you to build a modern big e-commerce web application as well as a single-page web application that runs on a browser.
Labels:
Angular
,
courses
,
JavaScript
,
online resources
Thursday, November 30, 2023
Top 9 Courses to Learn Spring Boot in 2024 for Java Developers - Best of Lot
Hello guys, if you are interested in learning Spring Boot and looking for some excellent resources, e.g. books, tutorials, and online courses to start with, then you have come to the right place. Earlier I have shared some great books to learn Spring Framework, including Spring Boot (see), and today, I'll share some of the best online Spring Boot courses you can join to learn Spring Boot by yourself. In the past, I was a big fan of learning from a book, but online courses have changed that completely. Now I prefer to start with an online course, like Spring Boot 3, Spring 6 & Hibernate for Beginners, and then move on to a book like Spring Boot in Action for more comprehensive learning. Anyway, before going through those Spring Boot courses, let's first revise what Spring Boot is, and its benefits, and why you should learn it.
Labels:
courses
,
online resources
,
spring
,
spring boot
Wednesday, November 29, 2023
Top 7 Courses to Learn Software Architecture for Experienced Programmers in 2024 - Best of Lot
Every Programmer wants to grow in their career, but it's not easy, and if you don't pay attention to your job, you will likely stay in the same position for many years. The growth in the initial few years is generally fast. Still, once you reach the barrier of 5 years, you need to decide which direction you want to move like - people management, product management, or software architecture. For tech guys, who don't want to go on people and product management, software architecture or solution architecture is the final position, which is not surprising. If you want to be close with coding and technical discussions, like to try new technologies, and want to use them in your organization to solve a challenging problem, software architect and solution architect is an excellent position to be in.
Tuesday, November 28, 2023
Top 6 Courses to Crack AWS Solutions Architect - Associate Exam (SAA-C03) in 2024 - Best of Lot
Hello guys, are you preparing for AWS Solutions Architect - Associate Exam? or Do you want to become Amazon Web Services (AWS) Certified Developer in 2024 to give your Cloud Computing career a push? and looking for some useful resources to prepare well for your exam then you have come to the right place. In the past, I have shared some free courses to learn AWS for beginner and in this article, I will share some of the best online courses to pass the AWS Solutions Architect - Associate Exam and become Amazon Web Services Certified Associate - a certification which will not only add value into your resume but also help you to get the high-paying job you always wanted.
Labels:
Amazon Web Service or AWS
,
AWS Certifications
,
cloud computing
,
courses
,
IT Certifications
Subscribe to:
Posts
(
Atom
)