public enum Saml2MessageBinding extends java.lang.Enum<Saml2MessageBinding>
urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST
and urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect
.
In addition there is support for urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect
with an XML signature in the message rather than query parameters.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUrn()
Returns the URN value from the SAML 2 specification for this binding.
|
static Saml2MessageBinding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Saml2MessageBinding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Saml2MessageBinding POST
public static final Saml2MessageBinding REDIRECT
public static Saml2MessageBinding[] values()
for (Saml2MessageBinding c : Saml2MessageBinding.values()) System.out.println(c);
public static Saml2MessageBinding valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getUrn()