Monday, September 7, 2020

What is Authentication and Authorization?

 Authentication:

The act of indicating a person or thing's identity, authentication is the process of verifying that identity.


Authorization:

Authorization is the function of specifying access rights/privileges to resources.

Friday, March 27, 2020

Open Source license policy

GPL:
The GPL is copyleft i.e It requires you to disclose your source code and make the modified version open source as well.

MIT License:
The MIT license allows reusing the code freely for our own use, reusing for commercial or non-commercial distribution whether in source or binary form. But, it does not allow us to claim the authorship of the code or to claim the original author for any downhill.

Apache Licence:
We can use Apache License software in our commercial products. The Apache License is more restrictive in terms of modifications relative to MIT license. We need to list out all of the modifications that we have done and have to preserve all of our modification notices.

BSD License:
Unlike GPL, the BSD License is free of copyleft, we don’t need to disclose our source code and to make the modified version open-source as well. Unlike Apache License, we are also not required to state all our modified changes.

Open Source License Policy and related questions and answers are available here: https://opensource.org/licenses

Resource Link: https://medium.com/@angularboy/guide-to-open-source-licenses-585f699c8369

Friday, March 6, 2020

Power Mock with static example

Power Mock with static example:

Manufacturing Code: https://github.com/7droids/PowerMock/blob/master/PowerMock/src/de/sevendroids/java/powermock/sample/PowerMockSampleClassWithStaticMethod.java

Unit Testing Code: https://github.com/7droids/PowerMock/blob/master/PowerMock/test/src/de/sevendroids/java/powermock/sample/PowerMockSampleClassWithStaticMethodTest.java

Monday, January 20, 2020

ID token vs Access Token

Access token is issued from Authorization server. Authorization Server issues an access token to a client to access a resource. Access token is verified by resource server which is provided by Authorization server. Access token is very opaque to client.

ID token is issued from Authorization server. Authorization Server issues an ID token to a client. Client who is one will validate this ID token by validating it's signature.

Access token can't tell anything about the user. On the other hand, ID token includes identity information about the user. You can identify and authenticate the user who is looking at the ID token. It includes the claim about the user like firstname, last name and email. Client can interpret the ID token and find who the user is.
Another blog data: Understanding ID token

Friday, December 27, 2019

IntelliJ “Annotate” option is not working


Your VCS is not enabled. For that reason, this issue is raised. Solution is given below:

  1. From menu bar, Click on the VCS option
  2. Enable VCS  
  3. Select your version control. For my case it is “Git”
  4. Done. Now you will be able to use the annotate option

Thursday, December 12, 2019

3 Lock Key in Keyboard

There are 3 locks in keyboard.

  1. Caps Lock --> Toggle Key. It is used to switch lowercase to uppercase in your keyboard.
  2. Scroll Lock --> Toggle Key. It is used to scroll the contents using the arrow key.
  3. Num Lock --> Toggle Key. It is mainly used for partial numeric keypad. In some keyboard, there is a numeric section for right side. It is mainly used for [Home, Page Up, Page Down, End and 4 rows]. If Num Lock is on, those keys will be used for numerical value.


Monday, December 9, 2019

Why choose Jira Software over Azure DevOps (formerly VSTS/TFS)?

Why choose Jira Software over Azure DevOps (formerly VSTS/TFS)?

1. Out-of-the-box agile support
Jira Support for Scrum, Kanban, and any framework in between. Teams can begin with a lightweight approach and then progressively add more features.
Azure DevOps Supports Kanban, Scrum and CMMI. No ability switch between.

2. Simply powerful project configuration
Teams can easily customize their project workflow, issue types, and fields for the board they want and need, without affecting another project’s customizations.

3. Built-in roadmaps
Quickly create a timeline of your plans, update your priorities as they change, visualize dependencies, and communicate the status of work to your stakeholders.

4. Customizable dashboard - "both in Jira and Azure DevOps"
Create custom dashboards in Jira Software that contain all the information you need to effectively plan and track your work.

5. Comprehensive agile reporting
Teams have access to more than a dozen reports with real-time, actionable insights into how their team is performing sprint over sprint.

6. Powerful search
Jira Software comes with advanced search capabilities powered by Jira Query Language that offers teams detailed views into their work.

7. Developer environment agnostic
Jira Software works with every type of developer environment, meaning no team member will ever be forced to use any tool they don't want to.

8. Native mobile support
With Jira Software for iPhone and Android, your single source of truth is always in your pocket.

9. Marketplace with 1,000+ plug-and-play add-ons
Over 1,000 plug-and-play add-ons from the Atlassian Marketplace extend Jira Software to fit any use case or development process.

10. Enterprise-ready - "both in Jira and Azure DevOps"
Jira Software provides high availability, performance at scale and advanced security features like encryption at rest.

Resource Link: https://www.atlassian.com/software/jira/comparison/jira-vs-azure-devops