Posts

Spring boot - web mvc security

Spring Boot is a popular Java framework for building web applications, and it provides a range of features for securing your application, including support for web MVC security. In this article, we'll take a closer look at how Spring Boot helps you secure your web MVC application and some best practices for implementing security in your application. What is Spring Boot Web MVC Security? Spring Boot provides a range of features for securing your web MVC application, including support for authentication and authorization, encryption, and secure communication. These features are built on top of the Spring Security framework, which is a powerful and flexible security framework for Java applications. Spring Boot allows you to configure security for your web MVC application using simple Java annotations and configuration properties. For example, you can use the @EnableWebSecurity annotation to enable web security in your application, and the @EnableGlobalMethodSecurity annotation to en...

Git - Most useful commands.

  Here is a cheat sheet of common Git commands that you may find useful: git init : Initializes a new Git repository in the current directory. git clone <repository> : Clones an existing Git repository from a remote source. git add <file> : Adds a file to the staging area, preparing it for commit. git commit -m "message" : Commits the changes in the staging area with a commit message. git push <remote> <branch> : Pushes the committed changes to the specified remote repository and branch. git pull <remote> <branch> : Pulls the latest changes from the specified remote repository and branch. git branch <name> : Creates a new branch with the specified name. git checkout <branch> : Switches to the specified branch. git merge <branch> : Merges the specified branch into the current branch. git stash : Stashes the current changes, allowing you to switch branches without committing. git stash pop : Applies the stashed changes and r...