官术网_书友最值得收藏!

Spring Security terminologies

It's important to understand some of the most important Spring Security terminologies. Let's look at some of them:

  • Principal: Any user, device, or system (application) that would like to interact with your application.
  • Authentication: A process by which your application makes sure that the principal is who they claim to be.
  • Credentials: When a principal tries to interact with your application, the authentication process kicks in and challenges the principal to pass on some values. One such example is a username/password combination and these values are called credentials. The authentication process validates the principal's passed-in credentials against a data store and replies back with the appropriate result.
  • Authorization: After successful authentication, the principal is checked again for actions that it can perform on your application. This process of checking rights for a principal and then granting necessary permissions is called authorization.
  • Secured item/resource: The item or resource that is marked as secured and requires the principal (user) to successfully complete both authentication and authorization.
  • GrantedAuthority: A Spring Security object (org.springframework.security.core.GrantedAuthority interface) that contains/holds permissions/access-right details of a principal.
  • SecurityContext: A Spring Security object that holds a principal's authentication details.
主站蜘蛛池模板: 衡阳市| 宁都县| 洪雅县| 梁山县| 新丰县| 汕头市| 方城县| 正镶白旗| 新闻| 左权县| 肥乡县| 太康县| 中方县| 留坝县| 子长县| 新宾| 泊头市| 金堂县| 长海县| 峨边| 西和县| 定边县| 宁都县| 栾川县| 长葛市| 双城市| 疏勒县| 普宁市| 会宁县| 普兰县| 麻江县| 桃园市| 霞浦县| 乌兰浩特市| 商洛市| 博客| 布拖县| 封开县| 太白县| 乌什县| 海门市|