Class BaseFederationConfigurationEndpoint
- java.lang.Object
- 
- com.authlete.jaxrs.BaseEndpoint
- 
- com.authlete.jaxrs.BaseFederationConfigurationEndpoint
 
 
- 
 public class BaseFederationConfigurationEndpoint extends BaseEndpoint A base class for the entity configuration endpoint of OpenID Connect Federation 1.0.An OpenID Provider that supports OpenID Connect Federation 1.0 must provide an endpoint that returns its entity configuration in the JWT format. The URI of the endpoint is defined as follows: - Entity ID + /.well-known/openid-federation
- Host component of Entity ID + /.well-known/openid-federation+ Path component of Entity ID (The same rule in RFC 8414)
 Entity ID is a URL that identifies an OpenID Provider (and other entities including Relying Parties, Trust Anchors and Intermediate Authorities) in the context of OpenID Connect Federation 1.0. - Since:
- 2.49, Authlete 2.3
- See Also:
- OpenID Connect Federation 1.0
 
- Entity ID + 
- 
- 
Constructor SummaryConstructors Constructor Description BaseFederationConfigurationEndpoint()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api)Handle a request to the entity configuration endpoint.javax.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api, com.authlete.common.api.Options options)Handle a request to the entity configuration endpoint.javax.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api, com.authlete.common.dto.FederationConfigurationRequest request)Handle a request to the entity configuration endpoint.javax.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api, com.authlete.common.dto.FederationConfigurationRequest request, com.authlete.common.api.Options options)Handle a request to the entity configuration endpoint.- 
Methods inherited from class com.authlete.jaxrs.BaseEndpointextractClientCertificate, extractClientCertificateChain, extractHeadersAsPairs, onError, takeAttribute
 
- 
 
- 
- 
- 
Method Detail- 
handlepublic javax.ws.rs.core.Response handle(com.authlete.common.api.AuthleteApi api) Handle a request to the entity configuration endpoint. This method is an alias of thehandle(AuthleteApi, FederationConfigurationRequest)method.- Parameters:
- api- An implementation of- AuthleteApi.
- Returns:
- A response that should be returned from the entity configuration endpoint.
 
 - 
handlepublic javax.ws.rs.core.Response handle(com.authlete.common.api.AuthleteApi api, com.authlete.common.api.Options options)Handle a request to the entity configuration endpoint. This method is an alias of thehandle(AuthleteApi, FederationConfigurationRequest, Options)method.- Parameters:
- api- An implementation of- AuthleteApi.
- options- The request options for the- /api/federation/configurationAPI.
- Returns:
- A response that should be returned from the entity configuration endpoint.
- Since:
- 2.82
 
 - 
handlepublic javax.ws.rs.core.Response handle(com.authlete.common.api.AuthleteApi api, com.authlete.common.dto.FederationConfigurationRequest request)Handle a request to the entity configuration endpoint. This method is an alias ofhandle(api, request, null).- Parameters:
- api- An implementation of- AuthleteApi.
- request- The request parameters for Authlete's- /api/federation/configurationAPI.
- Returns:
- A response that should be returned from the entity configuration endpoint.
 
 - 
handlepublic javax.ws.rs.core.Response handle(com.authlete.common.api.AuthleteApi api, com.authlete.common.dto.FederationConfigurationRequest request, com.authlete.common.api.Options options)Handle a request to the entity configuration endpoint.This method internally creates a FederationConfigurationRequestHandlerinstance and calls itshandle()method. Then, this method uses the value returned from the handler's method as a response from this method.When the handler's method raises a WebApplicationException, this method callsonError()method with the exception. The default implementation ofonError()does nothing. You can override the method as necessary. After callingonError()method, this method callsgetResponse()method of the exception and uses the returned value as a response from this method.- Parameters:
- api- An implementation of- AuthleteApi.
- request- The request parameters for Authlete's- /api/federation/configurationAPI.
- options- The request options for the- /api/federation/configurationAPI.
- Returns:
- A response that should be returned from the entity configuration endpoint.
- Since:
- 2.82
 
 
- 
 
-