I am looking at a Spring boot project that has this code:
public void configure(AuthorizationServerSecurityConfigurer oauthServer) throws Exception { oauthServer .tokenKeyAccess("permitAll()") .checkTokenAccess("isAuthenticated()"); }
Unfortunately, I cannot find any resources anywhere (i.e. Google, Spring docs, Spring oauth docs), which explains to me how to actually use AuthorizationServerSecurityConfigurer . Moreover, I do not understand what exactly tokenKeyAccess("permitAll()") or checkTokenAccess("isAuthenticated()") .
In addition to helping me understand what these two functions do, please help me find out where to look for these types of information in the future.
source share