Also used :
StringUtils(org.apache.commons.lang.StringUtils)
OpenIDConnectConfiguration(org.wso2.carbon.identity.api.server.application.management.v1.OpenIDConnectConfiguration)
Arrays(java.util.Arrays)
AbstractUserStoreManager(org.wso2.carbon.user.core.common.AbstractUserStoreManager)
ERROR_PROCESSING_REQUEST(org.wso2.carbon.identity.api.server.application.management.common.ApplicationManagementConstants.ErrorMessage.ERROR_PROCESSING_REQUEST)
BuildProvisioningConfiguration(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.provisioning.BuildProvisioningConfiguration)
Utils(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.Utils)
PrimitiveCondition(org.wso2.carbon.identity.configuration.mgt.core.search.PrimitiveCondition)
Autowired(org.springframework.beans.factory.annotation.Autowired)
INBOUND_NOT_CONFIGURED(org.wso2.carbon.identity.api.server.application.management.common.ApplicationManagementConstants.ErrorMessage.INBOUND_NOT_CONFIGURED)
ApplicationResponseModel(org.wso2.carbon.identity.api.server.application.management.v1.ApplicationResponseModel)
InboundFunctions.getInboundAuthKey(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.InboundFunctions.getInboundAuthKey)
RealmService(org.wso2.carbon.user.core.service.RealmService)
ERROR_CODE_RESOURCE_LIMIT_REACHED(org.wso2.carbon.identity.api.server.common.Constants.ERROR_CODE_RESOURCE_LIMIT_REACHED)
ApplicationTemplateApiModelToTemplate(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.template.ApplicationTemplateApiModelToTemplate)
Condition(org.wso2.carbon.identity.configuration.mgt.core.search.Condition)
APPLICATION_CREATION_WITH_TEMPLATES_NOT_IMPLEMENTED(org.wso2.carbon.identity.api.server.application.management.common.ApplicationManagementConstants.ErrorMessage.APPLICATION_CREATION_WITH_TEMPLATES_NOT_IMPLEMENTED)
CORSManagementServiceClientException(org.wso2.carbon.identity.cors.mgt.core.exception.CORSManagementServiceClientException)
FilterTreeBuilder(org.wso2.carbon.identity.core.model.FilterTreeBuilder)
IdentityApplicationManagementClientException(org.wso2.carbon.identity.application.common.IdentityApplicationManagementClientException)
StandardCharsets(java.nio.charset.StandardCharsets)
IOUtils(org.apache.commons.io.IOUtils)
CORSOrigin(org.wso2.carbon.identity.cors.mgt.core.model.CORSOrigin)
AuthProtocolMetadata(org.wso2.carbon.identity.api.server.application.management.v1.AuthProtocolMetadata)
InboundAuthenticationRequestConfig(org.wso2.carbon.identity.application.common.model.InboundAuthenticationRequestConfig)
TemplateMgtConstants(org.wso2.carbon.identity.template.mgt.TemplateMgtConstants)
LogFactory(org.apache.commons.logging.LogFactory)
OAuthInboundFunctions(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.oauth2.OAuthInboundFunctions)
ApplicationBasicInfoToApiModel(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.ApplicationBasicInfoToApiModel)
IdentityException(org.wso2.carbon.identity.base.IdentityException)
ProvisioningConfiguration(org.wso2.carbon.identity.api.server.application.management.v1.ProvisioningConfiguration)
ContextLoader(org.wso2.carbon.identity.api.server.common.ContextLoader)
ApplicationManagementService(org.wso2.carbon.identity.application.mgt.ApplicationManagementService)
SearchContext(org.apache.cxf.jaxrs.ext.search.SearchContext)
ComplexCondition(org.wso2.carbon.identity.configuration.mgt.core.search.ComplexCondition)
InboundAuthenticationConfig(org.wso2.carbon.identity.application.common.model.InboundAuthenticationConfig)
CORSManagementServiceException(org.wso2.carbon.identity.cors.mgt.core.exception.CORSManagementServiceException)
ApplicationManagementConstants(org.wso2.carbon.identity.api.server.application.management.common.ApplicationManagementConstants)
UpdateProvisioningConfiguration(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.provisioning.UpdateProvisioningConfiguration)
ArrayList(java.util.ArrayList)
ApplicationTemplatesListItem(org.wso2.carbon.identity.api.server.application.management.v1.ApplicationTemplatesListItem)
EQUALS(org.wso2.carbon.identity.configuration.mgt.core.search.constant.ConditionType.PrimitiveOperator.EQUALS)
InboundProtocolListItem(org.wso2.carbon.identity.api.server.application.management.v1.InboundProtocolListItem)
SAMLInboundFunctions(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.saml.SAMLInboundFunctions)
ResidentApplication(org.wso2.carbon.identity.api.server.application.management.v1.ResidentApplication)
ApiModelToServiceProvider(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.ApiModelToServiceProvider)
ERROR_APPLICATION_LIMIT_REACHED(org.wso2.carbon.identity.api.server.application.management.common.ApplicationManagementConstants.ErrorMessage.ERROR_APPLICATION_LIMIT_REACHED)
Utils.buildNotImplementedError(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.Utils.buildNotImplementedError)
ApplicationManagementServiceHolder(org.wso2.carbon.identity.api.server.application.management.common.ApplicationManagementServiceHolder)
OAUTH2(org.wso2.carbon.identity.application.authentication.framework.util.FrameworkConstants.StandardInboundProtocols.OAUTH2)
ApplicationModel(org.wso2.carbon.identity.api.server.application.management.v1.ApplicationModel)
TemplateToApplicationTemplateListItem(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.template.TemplateToApplicationTemplateListItem)
ImportResponse(org.wso2.carbon.identity.application.common.model.ImportResponse)
PrimitiveStatement(org.apache.cxf.jaxrs.ext.search.PrimitiveStatement)
IOException(java.io.IOException)
APIError(org.wso2.carbon.identity.api.server.common.error.APIError)
UpdateServiceProvider(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.UpdateServiceProvider)
PassiveSTSInboundFunctions(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.PassiveSTSInboundFunctions)
SearchCondition(org.apache.cxf.jaxrs.ext.search.SearchCondition)
InboundFunctions.rollbackInbound(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.InboundFunctions.rollbackInbound)
StandardInboundProtocols(org.wso2.carbon.identity.application.authentication.framework.util.FrameworkConstants.StandardInboundProtocols)
CORSManagementService(org.wso2.carbon.identity.cors.mgt.core.CORSManagementService)
URL(java.net.URL)
URISyntaxException(java.net.URISyntaxException)
BiFunction(java.util.function.BiFunction)
CustomInboundProtocolConfiguration(org.wso2.carbon.identity.api.server.application.management.v1.CustomInboundProtocolConfiguration)
ERROR_CODE_INVALID_APP_ID(org.wso2.carbon.identity.cors.mgt.core.constant.ErrorMessages.ERROR_CODE_INVALID_APP_ID)
ApplicationListItem(org.wso2.carbon.identity.api.server.application.management.v1.ApplicationListItem)
UNEXPECTED_SERVER_ERROR(org.wso2.carbon.identity.application.common.util.IdentityApplicationConstants.Error.UNEXPECTED_SERVER_ERROR)
WSTrustConfiguration(org.wso2.carbon.identity.api.server.application.management.v1.WSTrustConfiguration)
IdentityApplicationManagementException(org.wso2.carbon.identity.application.common.IdentityApplicationManagementException)
User(org.wso2.carbon.identity.application.common.model.User)
ApplicationPatchModel(org.wso2.carbon.identity.api.server.application.management.v1.ApplicationPatchModel)
ServiceProvider(org.wso2.carbon.identity.application.common.model.ServiceProvider)
Collectors(java.util.stream.Collectors)
Link(org.wso2.carbon.identity.api.server.application.management.v1.Link)
ApplicationConstants(org.wso2.carbon.identity.application.mgt.ApplicationConstants)
List(java.util.List)
PASSIVE_STS(org.wso2.carbon.identity.application.authentication.framework.util.FrameworkConstants.StandardInboundProtocols.PASSIVE_STS)
InboundAuthConfigToApiModel(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.InboundAuthConfigToApiModel)
ApplicationTemplatesList(org.wso2.carbon.identity.api.server.application.management.v1.ApplicationTemplatesList)
InboundFunctions.rollbackInbounds(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.InboundFunctions.rollbackInbounds)
SAML2(org.wso2.carbon.identity.application.authentication.framework.util.FrameworkConstants.StandardInboundProtocols.SAML2)
InboundFunctions.getInboundAuthenticationRequestConfig(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.InboundFunctions.getInboundAuthenticationRequestConfig)
Template(org.wso2.carbon.identity.template.mgt.model.Template)
SAML2ServiceProvider(org.wso2.carbon.identity.api.server.application.management.v1.SAML2ServiceProvider)
PassiveStsConfiguration(org.wso2.carbon.identity.api.server.application.management.v1.PassiveStsConfiguration)
WS_TRUST(org.wso2.carbon.identity.application.authentication.framework.util.FrameworkConstants.StandardInboundProtocols.WS_TRUST)
INVALID_REQUEST(org.wso2.carbon.identity.application.common.util.IdentityApplicationConstants.Error.INVALID_REQUEST)
Attachment(org.apache.cxf.jaxrs.ext.multipart.Attachment)
PrivilegedCarbonContext(org.wso2.carbon.context.PrivilegedCarbonContext)
SpFileContent(org.wso2.carbon.identity.application.common.model.SpFileContent)
ApplicationOwner(org.wso2.carbon.identity.api.server.application.management.v1.ApplicationOwner)
Function(java.util.function.Function)
APPLICATION_MANAGEMENT_PATH_COMPONENT(org.wso2.carbon.identity.api.server.application.management.common.ApplicationManagementConstants.APPLICATION_MANAGEMENT_PATH_COMPONENT)
TemplateManagementClientException(org.wso2.carbon.identity.template.mgt.exception.TemplateManagementClientException)
CollectionUtils(org.apache.commons.collections.CollectionUtils)
ErrorMessages(org.wso2.carbon.identity.cors.mgt.core.constant.ErrorMessages)
Util(org.wso2.carbon.identity.api.server.common.Util)
InboundFunctions.updateOrInsertInbound(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.InboundFunctions.updateOrInsertInbound)
TemplateToApplicationTemplate(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.template.TemplateToApplicationTemplate)
WSTrustInboundFunctions(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.WSTrustInboundFunctions)
TemplateManager(org.wso2.carbon.identity.template.mgt.TemplateManager)
ApplicationBasicInfo(org.wso2.carbon.identity.application.common.model.ApplicationBasicInfo)
ServiceProviderToApiModel(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.ServiceProviderToApiModel)
Utils.buildBadRequestError(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.Utils.buildBadRequestError)
ExpressionNode(org.wso2.carbon.identity.core.model.ExpressionNode)
MalformedURLException(java.net.MalformedURLException)
ErrorMessage(org.wso2.carbon.identity.api.server.application.management.common.ApplicationManagementConstants.ErrorMessage)
CustomInboundFunctions(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.custom.CustomInboundFunctions)
ResourceSearchBean(org.wso2.carbon.identity.configuration.mgt.core.model.ResourceSearchBean)
Node(org.wso2.carbon.identity.core.model.Node)
TemplateManagementException(org.wso2.carbon.identity.template.mgt.exception.TemplateManagementException)
ApplicationTemplateModel(org.wso2.carbon.identity.api.server.application.management.v1.ApplicationTemplateModel)
SAML2Configuration(org.wso2.carbon.identity.api.server.application.management.v1.SAML2Configuration)
ApplicationListResponse(org.wso2.carbon.identity.api.server.application.management.v1.ApplicationListResponse)
IdentityUtil(org.wso2.carbon.identity.core.util.IdentityUtil)
Log(org.apache.commons.logging.Log)
ConditionType(org.apache.cxf.jaxrs.ext.search.ConditionType)
Collections(java.util.Collections)
ArrayUtils(org.apache.commons.lang.ArrayUtils)
InputStream(java.io.InputStream)
CORSOrigin(org.wso2.carbon.identity.cors.mgt.core.model.CORSOrigin)
InboundAuthenticationConfig(org.wso2.carbon.identity.application.common.model.InboundAuthenticationConfig)
ApiModelToServiceProvider(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.ApiModelToServiceProvider)
UpdateServiceProvider(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.UpdateServiceProvider)
ServiceProvider(org.wso2.carbon.identity.application.common.model.ServiceProvider)
SAML2ServiceProvider(org.wso2.carbon.identity.api.server.application.management.v1.SAML2ServiceProvider)
InboundAuthenticationRequestConfig(org.wso2.carbon.identity.application.common.model.InboundAuthenticationRequestConfig)
InboundFunctions.getInboundAuthenticationRequestConfig(org.wso2.carbon.identity.api.server.application.management.v1.core.functions.application.inbound.InboundFunctions.getInboundAuthenticationRequestConfig)
APIError(org.wso2.carbon.identity.api.server.common.error.APIError)
CORSManagementServiceException(org.wso2.carbon.identity.cors.mgt.core.exception.CORSManagementServiceException)
CORSManagementService(org.wso2.carbon.identity.cors.mgt.core.CORSManagementService)