Class ProtocolEndpoints

java.lang.Object
swiss.trustbroker.federation.xmlconfig.ProtocolEndpoints
All Implemented Interfaces:
Serializable

public class ProtocolEndpoints extends Object implements Serializable
SAML/OIDC protocol endpoints.
See Also:
  • Constructor Details

    • ProtocolEndpoints

      public ProtocolEndpoints()
    • ProtocolEndpoints

      public ProtocolEndpoints(String metadataUrl, String jwkSetUrl, String proxyUrl, String artifactResolutionUrl, Integer artifactResolutionIndex, String artifactResolutionProxyUrl)
      Creates a new ProtocolEndpoints instance.
      Parameters:
      metadataUrl - SAML/OIDC metadata URL.
      jwkSetUrl - Jwk endpoint url
      proxyUrl - Proxy URL for these endpoints that overrides global default.
      Set to empty string to override global default to use no proxy.
      artifactResolutionUrl - SAML Artifact Resolution Protocol URL.
      artifactResolutionIndex - SAML Artifact Resolution Protocol index.
      artifactResolutionProxyUrl - @deprecated Use proxyUrl.
      Since:
      1.14.0, 1.9.0
  • Method Details

    • getArtifactResolutionProxyUrl

      @Deprecated(since="1.9.0", forRemoval=true) public String getArtifactResolutionProxyUrl()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use proxyUrl.
    • setArtifactResolutionProxyUrl

      @Deprecated(since="1.9.0", forRemoval=true) public void setArtifactResolutionProxyUrl(String proxyUrl)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use proxyUrl
    • builder

    • getMetadataUrl

      public String getMetadataUrl()
      SAML/OIDC metadata URL.
    • getJwkSetUrl

      public String getJwkSetUrl()
      Jwk endpoint url
      Since:
      1.14.0
    • getProxyUrl

      public String getProxyUrl()
      Proxy URL for these endpoints that overrides global default.
      Set to empty string to override global default to use no proxy.
      Since:
      1.9.0
    • getArtifactResolutionUrl

      public String getArtifactResolutionUrl()
      SAML Artifact Resolution Protocol URL.
    • getArtifactResolutionIndex

      public Integer getArtifactResolutionIndex()
      SAML Artifact Resolution Protocol index.
    • setMetadataUrl

      public void setMetadataUrl(String metadataUrl)
      SAML/OIDC metadata URL.
    • setJwkSetUrl

      public void setJwkSetUrl(String jwkSetUrl)
      Jwk endpoint url
      Since:
      1.14.0
    • setProxyUrl

      public void setProxyUrl(String proxyUrl)
      Proxy URL for these endpoints that overrides global default.
      Set to empty string to override global default to use no proxy.
      Since:
      1.9.0
    • setArtifactResolutionUrl

      public void setArtifactResolutionUrl(String artifactResolutionUrl)
      SAML Artifact Resolution Protocol URL.
    • setArtifactResolutionIndex

      public void setArtifactResolutionIndex(Integer artifactResolutionIndex)
      SAML Artifact Resolution Protocol index.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object