Friday, April 26, 2019

Spring Security Interview

Q- What is spring security in java?
  • Spring Security is access-control framework.
  • Spring Security is a framework that used to focuses on security or restriction from non-authorize user in Java applications.
  • This enables a programmer to implement security restrictions to spring framework based java applications or web application through JEE components
  • Its primary area of operation is to handle authentication and authorization at the web request level as well as the method level.
  • It is a powerful framework to provide high level of security to java application 
  • It is easy to customize authentication and authorization configuration to java application.
  • It is the de-facto standard for securing Spring-based applications. 
  • Spring security protect against attacks like cross site request forgery, session fixation, clickjacking etc.
HTTP Basic Authentication Architecture diagram

Security Using JWT Token



Spring security features in java

Spring 4 Framework have the following modules as mention below.

  • Spring Security
  • Spring Security SAML
  • Spring Security OAuth
  • Spring Security Kerberos
  • Spring Cloud Security


Related Tutorials





1 comment: