public static String getIssuerFromSamlObject(final SAMLObject object) {
        if (object instanceof final RequestAbstractType instance) {
            return instance.getIssuer().getValue();
        }
        if (object instanceof final StatusResponseType instance) {
            return instance.getIssuer().getValue();
        }
        if (object instanceof final Assertion instance) {
            return instance.getIssuer().getValue();
        }
        return null;
    }
Gets issuer from saml object.

@param object the object
@return the issuer from saml object
support/cas-server-support-saml-idp-core/src/main/java/org/apereo/cas/support/saml/SamlIdPUtils.java