/** * Gets the index of the source artifact resolution service. * * @param requestContext current request context * * @return the index of the attribute resolution service */ @Nullable protected String getArsEndpointUrl(@Nonnull final MessageContext<SAMLObject> requestContext) { SAMLArtifactContext artifactContext = getArtifactContext(requestContext); if (artifactContext == null || artifactContext.getSourceArtifactResolutionServiceEndpointURL() == null) { log.warn("No artifact resolution service endpoint URL is available"); return null; } return artifactContext.getSourceArtifactResolutionServiceEndpointURL(); }