Class MtlsEndpointAliases
java.lang.Object
com.irurueta.authserver.authorization.api.web.clientauth.MtlsEndpointAliases
Builds the
mtls_endpoint_aliases metadata claim of RFC 8705 (section 5): the addresses of the endpoints
that authenticate clients on the dedicated TLS port, the issuer's host with authserver.x509.port. Nothing
is added while that port is not configured.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the metadata claim.private static final StringScheme of the TLS port.private final org.springframework.security.oauth2.server.authorization.settings.AuthorizationServerSettingsPaths of the protocol endpoints and the configured issuer.private final X509PropertiesSettings of the X.509 sign-in and its dedicated port. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CLAIM
Name of the metadata claim.- See Also:
-
HTTPS
Scheme of the TLS port.- See Also:
-
x509Properties
Settings of the X.509 sign-in and its dedicated port. -
settings
private final org.springframework.security.oauth2.server.authorization.settings.AuthorizationServerSettings settingsPaths of the protocol endpoints and the configured issuer.
-
-
Constructor Details
-
MtlsEndpointAliases
public MtlsEndpointAliases()
-
-
Method Details
-
contribute
Adds the claim to a metadata document, when the TLS port is configured.- Parameters:
claims- receives the claim name and value.
-
put
Adds the alias of an endpoint.- Parameters:
aliases- receives the alias.name- metadata name of the endpoint.issuer- the issuer, whose host and path prefix the alias keeps.endpoint- path of the endpoint.
-