def remember_identity(self, subject, authc_token, account_id):
try:<EOL><INDENT>identifiers = self.get_identity_to_remember(subject, account_id)<EOL><DEDENT>except AttributeError:<EOL><INDENT>msg = "<STR_LIT>"<EOL>raise AttributeError(msg)<EOL><DEDENT>encrypted = self.convert_identifiers_to_bytes(identifiers)<EOL>self.remember_encrypted_identity(subject, encrypted)<EOL>
Yosai consolidates rememberIdentity, an overloaded method in java,
to a method that will use an identifier-else-account logic.

Remembers a subject-unique identity for retrieval later.  This
implementation first resolves the exact identifying attributes to
remember.  It then remembers these identifying attributes by calling
    remember_identity(Subject, IdentifierCollection)

:param subject:  the subject for which the identifying attributes are
                 being remembered
:param authc_token:  ignored in the AbstractRememberMeManager
:param account_id: the account id of authenticated account