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.
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.