Module org.elasticsearch.security
Class SamlMessageBuilder
java.lang.Object
org.elasticsearch.xpack.security.authc.saml.SamlMessageBuilder
Abstract base class for object that build some sort of
SAMLObject-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Clockprotected final org.opensaml.saml.saml2.metadata.EntityDescriptorprotected final org.apache.logging.log4j.Loggerprotected final SpConfiguration -
Constructor Summary
ConstructorsConstructorDescriptionSamlMessageBuilder(org.opensaml.saml.saml2.metadata.EntityDescriptor identityProvider, SpConfiguration serviceProvider, Clock clock) -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringbuildId()protected org.opensaml.saml.saml2.core.Issuerprotected StringgetIdentityProviderEndpoint(String binding, Function<org.opensaml.saml.saml2.metadata.IDPSSODescriptor, ? extends Collection<? extends org.opensaml.saml.saml2.metadata.Endpoint>> selector)
-
Field Details
-
logger
protected final org.apache.logging.log4j.Logger logger -
clock
-
serviceProvider
-
identityProvider
protected final org.opensaml.saml.saml2.metadata.EntityDescriptor identityProvider
-
-
Constructor Details
-
SamlMessageBuilder
public SamlMessageBuilder(org.opensaml.saml.saml2.metadata.EntityDescriptor identityProvider, SpConfiguration serviceProvider, Clock clock)
-
-
Method Details
-
getIdentityProviderEndpoint
protected String getIdentityProviderEndpoint(String binding, Function<org.opensaml.saml.saml2.metadata.IDPSSODescriptor, ? extends Collection<? extends org.opensaml.saml.saml2.metadata.Endpoint>> selector) -
buildIssuer
protected org.opensaml.saml.saml2.core.Issuer buildIssuer() -
buildId
-