Friday, August 9, 2024

Spring Security

What is spring boot two way SSL?

  • Both server and client Trust each other certificate.
  • Both server and client validate each other Certificate.
  • Server send certificate to client and client also has to send required certificate to server, then only handshake happens.
  • Add certificate to client, JDK key store and verify user.

How are we managing security in our applications?

  • We can use LDAP based or OAuth based authentication.
  • We are using Bearer token with Correlation ID
  • For role based We are using spring security roles based on access lists.
  • For Custom Authentication, we can use annotation based security.
How do we provide role based access control using Spring Security?

No comments:

Post a Comment

Spring Boot

What is circular/cyclic dependency in spring boot? When two services are interdependent on each other, that is to start one service, we requ...