New technical points-----update every day


Previously used code editor MyEclipse--------new InterlliJ IDEA

 


Permission control: shiro
UserRealm inherits AuthorizingRealm (class provided by shiro framework) to realize user authentication and authorization
Authentication: subject.login(), doGetAuthenticationInfo(AuthenticationToken token)
Authorization: subject.isPermited(), doGetAuthorizationInfo(PrincipalCollection principals)

1, Authentication (English word meaning: authentication;, authentication;) Verification, verification; the process of proving a subject's identity is the process
of verification when we log in to the website with a username + password, verifying that I am this user, because I Know his password
and username (to put it bluntly, whether he can log in).
2. Authorization (Access Control) (English meaning: authorization): Authorization, checking whether a user has the right to do which thing,
usually done through the user's authority (to put it bluntly, it is to specify what the user can do).

 

 

 


spring boot


The basic framework of the current project spring boot+mybatis

 

Spring data jpa paging query:





Constants word meaning (constant), Constants.java constant class is often defined in java

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325001440&siteId=291194637