public void setIdentity(AssertedIdentity identity) {
        this.identity = identity;
    }
Marks this authentication attempt as completed and successful, with the
user having been asserted as having the given identity by the SAML IdP.

@param identity
    The identity asserted by the SAML IdP.
extensions/guacamole-auth-sso/modules/guacamole-auth-sso-saml/src/main/java/org/apache/guacamole/auth/saml/acs/SAMLAuthenticationSession.java