@@ -391,7 +391,7 @@ public boolean supports(AuthenticationToken token) {
391391 * @since 1.2
392392 */
393393 public final void init () {
394- //trigger obtaining the authorization cache if possible
394+ //trigger obtaining the authentication cache if possible
395395 getAvailableAuthenticationCache ();
396396 onInit ();
397397 }
@@ -411,7 +411,7 @@ protected void onInit() {
411411 * @since 1.2
412412 */
413413 protected void afterCacheManagerSet () {
414- //trigger obtaining the authorization cache if possible
414+ //trigger obtaining the authentication cache if possible
415415 getAvailableAuthenticationCache ();
416416 }
417417
@@ -485,9 +485,9 @@ private AuthenticationInfo getCachedAuthenticationInfo(AuthenticationToken token
485485 Object key = getAuthenticationCacheKey (token );
486486 info = cache .get (key );
487487 if (info == null ) {
488- LOGGER .trace ("No AuthorizationInfo found in cache for key [{}]" , key );
488+ LOGGER .trace ("No AuthenticationInfo found in cache for key [{}]" , key );
489489 } else {
490- LOGGER .trace ("Found cached AuthorizationInfo for key [{}]" , key );
490+ LOGGER .trace ("Found cached AuthenticationInfo for key [{}]" , key );
491491 }
492492 }
493493
@@ -677,7 +677,7 @@ private static boolean isEmpty(PrincipalCollection pc) {
677677 * {@link #clearCache(org.apache.shiro.subject.PrincipalCollection)} method instead (which will in turn call this
678678 * method by default).
679679 *
680- * @param principals the principals of the account for which to clear the cached AuthorizationInfo .
680+ * @param principals the principals of the account for which to clear the cached AuthenticationInfo .
681681 * @see #clearCache(org.apache.shiro.subject.PrincipalCollection)
682682 * @since 1.2
683683 */
0 commit comments