/** * Resolve the SAML entity ID from a SAML 1 request. * * @param request the request * * @return the entity ID, or null if it could not be resolved */ @Nullable protected String processSaml1Request(@Nonnull final org.opensaml.saml.saml1.core.Request request) { String entityId = null; if (request.getAttributeQuery() != null) { entityId = processSaml1AttributeQuery(request.getAttributeQuery()); if (entityId != null) { return entityId; } } if (request.getAuthorizationDecisionQuery() != null) { entityId = processSaml1AuthorizationDecisionQuery(request.getAuthorizationDecisionQuery()); if (entityId != null) { return entityId; } } return null; }