AbstractRememberMeManager.rememberIdentity

Remembers the specified account principals by first {@link #convertPrincipalsToBytes(hunt.shiro.subject.PrincipalCollection) converting} them to a byte array and then {@link #rememberSerializedIdentity(hunt.shiro.subject.Subject, byte[]) remembers} that byte array.

@param subject the subject for which the principals are being remembered. @param accountPrincipals the principals to remember for retrieval later.

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

Meta