Package com.authlete.jaxrs
Class FederationConfigurationRequestHandler
- java.lang.Object
-
- com.authlete.jaxrs.FederationConfigurationRequestHandler
-
public class FederationConfigurationRequestHandler extends Object
Handler for requests to the entity configuration endpoint.This class can be used to implement the entity configuration endpoint (
/.well-known/openid-federation
) of the service.- Since:
- 2.49, Authlete 2.3
- See Also:
- OpenID Connect Federation 1.0
-
-
Constructor Summary
Constructors Constructor Description FederationConfigurationRequestHandler(com.authlete.common.api.AuthleteApi api)
Constructor with an implementation ofAuthleteApi
interface.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.authlete.jaxrs.AuthleteApiCaller
getApiCaller()
javax.ws.rs.core.Response
handle(com.authlete.common.dto.FederationConfigurationRequest request)
Handle a request to the entity configuration endpoint.protected javax.ws.rs.InternalServerErrorException
unexpected(String message, Throwable cause)
-
-
-
Method Detail
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.dto.FederationConfigurationRequest request) throws javax.ws.rs.WebApplicationException
Handle a request to the entity configuration endpoint.- Parameters:
request
- An entity configuration request.- Returns:
- A response that should be returned from the entity configuration endpoint.
- Throws:
javax.ws.rs.WebApplicationException
-
getApiCaller
protected com.authlete.jaxrs.AuthleteApiCaller getApiCaller()
-
-