Class SamlInvalidateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.SamlInvalidateRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SamlInvalidateRequest extends RequestBase implements JsonpSerializable
Submits a SAML LogoutRequest message to Elasticsearch for consumption.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SamlInvalidateRequest.Builder
Builder forSamlInvalidateRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SamlInvalidateRequest>
_DESERIALIZER
Json deserializer forSamlInvalidateRequest
static Endpoint<SamlInvalidateRequest,SamlInvalidateResponse,ErrorResponse>
_ENDPOINT
Endpoint "security.saml_invalidate
". -
Method Summary
Modifier and Type Method Description java.lang.String
acs()
The Assertion Consumer Service URL that matches the one of the SAML realm in Elasticsearch that should be used.static SamlInvalidateRequest
of(java.util.function.Function<SamlInvalidateRequest.Builder,ObjectBuilder<SamlInvalidateRequest>> fn)
java.lang.String
queryString()
Required - The query part of the URL that the user was redirected to by the SAML IdP to initiate the Single Logout.java.lang.String
realm()
The name of the SAML realm in Elasticsearch the configuration.void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupSamlInvalidateRequestDeserializer(ObjectDeserializer<SamlInvalidateRequest.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSamlInvalidateRequest
-
_ENDPOINT
public static final Endpoint<SamlInvalidateRequest,SamlInvalidateResponse,ErrorResponse> _ENDPOINTEndpoint "security.saml_invalidate
".
-
-
Method Details
-
of
public static SamlInvalidateRequest of(java.util.function.Function<SamlInvalidateRequest.Builder,ObjectBuilder<SamlInvalidateRequest>> fn) -
acs
@Nullable public final java.lang.String acs()The Assertion Consumer Service URL that matches the one of the SAML realm in Elasticsearch that should be used. You must specify either this parameter or the realm parameter.API name:
acs
-
queryString
public final java.lang.String queryString()Required - The query part of the URL that the user was redirected to by the SAML IdP to initiate the Single Logout. This query should include a single parameter named SAMLRequest that contains a SAML logout request that is deflated and Base64 encoded. If the SAML IdP has signed the logout request, the URL should include two extra parameters named SigAlg and Signature that contain the algorithm used for the signature and the signature value itself. In order for Elasticsearch to be able to verify the IdP’s signature, the value of the query_string field must be an exact match to the string provided by the browser. The client application must not attempt to parse or process the string in any way.API name:
query_string
-
realm
@Nullable public final java.lang.String realm()The name of the SAML realm in Elasticsearch the configuration. You must specify either this parameter or the acs parameter.API name:
realm
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupSamlInvalidateRequestDeserializer
protected static void setupSamlInvalidateRequestDeserializer(ObjectDeserializer<SamlInvalidateRequest.Builder> op)
-