Auth Mechanism(session, JWT, OAuth, 2Way SSL)

There are various ways to authenticate a user, lets discuss some of them. Session : its considered the simplest among all...... https://www.youtube.com/watch?v=sm-8qfMWEV8&list=PLqq-6Pq4lTTYTEooakHchTGglSvkZAjnE Two Way SSL How SSL works internally and mechanism behind encrypting the data that you sent over the network and how it identify you are the right one with whom browser is talking. … Continue reading Auth Mechanism(session, JWT, OAuth, 2Way SSL)

Testing(Junit,Mockito,wiremock)

Basic of Mockito: https://github.com/in28minutes/MockitoTutorialForBeginnersWrite basic Junit test case and mocking service inside test classhttps://www.youtube.com/watch?v=d2KwvXQgQx4Testing rest Api's using spring framework mockmvc.https://www.youtube.com/watch?v=8S8o46avgAwhttps://stackoverflow.com/questions/18164123/how-to-clean-up-mocks-in-spring-tests-when-using-mockitohttps://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html