Class SamlEndpoint

java.lang.Object
com.linecorp.armeria.server.saml.SamlEndpoint

public final class SamlEndpoint
extends Object
A SAML service URL and its binding protocol.
  • Method Details

    • ofHttpRedirect

      public static SamlEndpoint ofHttpRedirect​(String uri)
      Creates a SamlEndpoint of the specified uri and the HTTP Redirect binding protocol.
    • ofHttpRedirect

      public static SamlEndpoint ofHttpRedirect​(URI uri)
      Creates a SamlEndpoint of the specified uri and the HTTP Redirect binding protocol.
    • ofHttpPost

      public static SamlEndpoint ofHttpPost​(String uri)
      Creates a SamlEndpoint of the specified uri and the HTTP POST binding protocol.
    • ofHttpPost

      public static SamlEndpoint ofHttpPost​(URI uri)
      Creates a SamlEndpoint of the specified uri and the HTTP POST binding protocol.
    • uri

      public URI uri()
      Returns a URI of this endpoint.
    • toUriString

      public String toUriString()
      Returns a URI of this endpoint as a string.
    • bindingProtocol

      public SamlBindingProtocol bindingProtocol()
      Returns a SamlBindingProtocol of this endpoint.
    • equals

      public boolean equals​(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object