use of org.wso2.carbon.identity.api.server.application.management.common.ApplicationManagementConstants.ErrorMessage.INBOUND_NOT_CONFIGURED in project identity-api-server by wso2.
the class ServerApplicationManagementService method getInboundAuthRequestConfig.
private InboundAuthenticationRequestConfig getInboundAuthRequestConfig(String applicationId, String inboundType) {
ServiceProvider application = getServiceProvider(applicationId);
// Extract the inbound authentication request config for the given inbound type.
InboundAuthenticationRequestConfig inboundAuthenticationRequestConfig = getInboundAuthenticationRequestConfig(application, inboundType);
if (inboundAuthenticationRequestConfig == null) {
// This means the inbound is not configured for the particular app.
throw buildClientError(INBOUND_NOT_CONFIGURED, inboundType, applicationId);
}
return inboundAuthenticationRequestConfig;
}
Aggregations