Package com.linecorp.armeria.server.saml
Enum SamlBindingProtocol
- All Implemented Interfaces:
Serializable
,Comparable<SamlBindingProtocol>
,java.lang.constant.Constable
public enum SamlBindingProtocol extends Enum<SamlBindingProtocol>
SAML binding protocols. Only HTTP Redirect and HTTP POST binding protocols are supported.
The other protocols, such as HTTP Artifact binding protocol, are not supported yet.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description HTTP_POST
HTTP POST binding protocol.HTTP_REDIRECT
HTTP Redirect binding protocol. -
Method Summary
Modifier and Type Method Description String
urn()
Returns the URN of this binding protocol.static SamlBindingProtocol
valueOf(String name)
Returns the enum constant of this type with the specified name.static SamlBindingProtocol[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HTTP_REDIRECT
HTTP Redirect binding protocol. -
HTTP_POST
HTTP POST binding protocol.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
urn
Returns the URN of this binding protocol.
-