public AssertedIdentity getIdentity() {
        return identity;
    }
Returns the identity asserted by the SAML IdP. If authentication has not
yet completed successfully, this will be null.

@return
    The identity asserted by the SAML IdP, or null if authentication has
    not yet completed successfully.
extensions/guacamole-auth-sso/modules/guacamole-auth-sso-saml/src/main/java/org/apache/guacamole/auth/saml/acs/SAMLAuthenticationSession.java