AbstractRememberMeManager.rememberIdentity

Remembers a subject-unique identity for retrieval later. This implementation first {@link #getIdentityToRemember resolves} the exact {@link PrincipalCollection principals} to remember. It then remembers the principals by calling {@link #rememberIdentity(hunt.shiro.subject.Subject, hunt.shiro.subject.PrincipalCollection)}. <p/> This implementation ignores the {@link AuthenticationToken} argument, but it is available to subclasses if necessary for custom logic.

@param subject the subject for which the principals are being remembered. @param token the token that resulted in a successful authentication attempt. @param authcInfo the authentication info resulting from the successful authentication attempt.

  1. void rememberIdentity(Subject subject, AuthenticationToken token, AuthenticationInfo authcInfo)
    class AbstractRememberMeManager
  2. void rememberIdentity(Subject subject, PrincipalCollection accountPrincipals)

Meta