Class SAMLArtifactContext

  • All Implemented Interfaces:
    Iterable<org.opensaml.messaging.context.BaseContext>

    public final class SAMLArtifactContext
    extends org.opensaml.messaging.context.BaseContext
    Context that carries information about SAML artifact usage.
    • Field Detail

      • artifactType

        @Nullable
        private byte[] artifactType
        The artifact type.
      • sourceEntityId

        @Nullable
        @NotEmpty
        private String sourceEntityId
        The artifact source entityID.
      • sourceArtifactResolutionServiceEndpointUrl

        @Nullable
        @NotEmpty
        private String sourceArtifactResolutionServiceEndpointUrl
        The artifact resolution endpoint URL.
      • sourceArtifactResolutionServiceEndpointIndex

        @Nullable
        private Integer sourceArtifactResolutionServiceEndpointIndex
        The artifact resolution endpoint index.
    • Constructor Detail

      • SAMLArtifactContext

        public SAMLArtifactContext()
    • Method Detail

      • getArtifactType

        @Nullable
        public byte[] getArtifactType()
        Gets the artifact type.
        Returns:
        artifact type, may be null
      • setArtifactType

        public void setArtifactType​(@Nullable
                                    byte[] type)
        Sets the artifact type.
        Parameters:
        type - the new artifact type
      • getSourceEntityId

        @Nullable
        @NotEmpty
        public String getSourceEntityId()
        Get the artifact source entityID.
        Returns:
        the source entityID, may be null
      • setSourceEntityId

        public void setSourceEntityId​(@Nullable
                                      String entityId)
        Set the artifact source entityID.
        Parameters:
        entityId - the new source entityID
      • getSourceArtifactResolutionServiceEndpointURL

        @Nullable
        @NotEmpty
        public String getSourceArtifactResolutionServiceEndpointURL()
        Get the artifact resolution service endpoint URL.
        Returns:
        the URL
      • setSourceArtifactResolutionServiceEndpointURL

        public void setSourceArtifactResolutionServiceEndpointURL​(@Nullable
                                                                  String url)
        Set the artifact resolution service endpoint URL.
        Parameters:
        url - the new URL
      • getSourceArtifactResolutionServiceEndpointIndex

        @Nullable
        public Integer getSourceArtifactResolutionServiceEndpointIndex()
        Get the artifact resolution service endpoint index.
        Returns:
        the index
      • setSourceArtifactResolutionServiceEndpointIndex

        public void setSourceArtifactResolutionServiceEndpointIndex​(@Nullable
                                                                    Integer index)
        Set the source artifact resolution service endpoint index.
        Parameters:
        index - the new index