public interface ApplicationMgtListener
| Modifier and Type | Method and Description |
|---|---|
default void |
doExportServiceProvider(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
Boolean exportSecrets)
Define any additional actions when exporting service provider.
|
default void |
doImportServiceProvider(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider)
Define any additional actions when importing service provider.
|
boolean |
doPostCreateApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain,
String userName)
Define any additional actions after creating an application
|
default boolean |
doPostDeleteApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain,
String userName)
Define any additional actions after deleting an application
This method does not need to be overridden,
if doPostDeleteApplication(String applicationName, String tenantDomain, String userName)
is overridden.
|
boolean |
doPostDeleteApplication(String applicationName,
String tenantDomain,
String userName)
Deprecated.
|
boolean |
doPostGetAllApplicationBasicInfo(ApplicationDAO appDAO,
String tenantDomain,
String username)
Define any additional actions after getting all applications' basic information
|
default boolean |
doPostGetApplicationBasicInfo(ApplicationDAO appDAO,
String tenantDomain,
String username,
String filter)
Define any additional actions after getting all applications' basic information for matching filter.
|
boolean |
doPostGetApplicationExcludingFileBasedSPs(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String applicationName,
String tenantDomain)
Define any additional actions after getting an application excluding file based SPs.
|
boolean |
doPostGetServiceProvider(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String applicationName,
String tenantDomain)
Define any additional actions after getting a service provider
|
boolean |
doPostGetServiceProviderByClientId(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceprovider,
String clientId,
String clientType,
String tenantDomain)
Define any additional actions after getting a service provider by client id
|
boolean |
doPostGetServiceProviderNameByClientId(String name,
String clientId,
String clientType,
String tenantDomain)
Define any additional actions after getting service provider name by client id
|
default boolean |
doPostGetServiceProviderNameByClientIdExcludingFileBasedSPs(String name,
String clientId,
String type,
String tenantDomain)
Define any additional actions after getting service provider name by client id, excluding file based ones.
|
boolean |
doPostUpdateApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain,
String userName)
Define any additional actions after updating an application
|
boolean |
doPreCreateApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain,
String userName)
Define any additional actions before creating an application
|
default boolean |
doPreCreateApplicationTemplate(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain)
Define any additional actions before creating an application template.
|
boolean |
doPreDeleteApplication(String applicationName,
String tenantDomain,
String userName)
Define any additional actions before deleting an application
|
boolean |
doPreGetAllApplicationBasicInfo(String tenantDomain,
String username)
Define any additional actions before getting all applications' basic information
|
default boolean |
doPreGetApplicationBasicInfo(String tenantDomain,
String username,
String filter)
Define any additional actions before getting all applications' basic information for matching filter.
|
boolean |
doPreGetApplicationExcludingFileBasedSPs(String applicationName,
String tenantDomain)
Define any additional actions before getting an application excluding file based SPs.
|
boolean |
doPreGetServiceProvider(String applicationName,
String tenantDomain)
Define any additional actions before getting a service provider
|
boolean |
doPreGetServiceProviderByClientId(String clientId,
String clientType,
String tenantDomain)
Define any additional actions before getting a service provider by client id
|
boolean |
doPreGetServiceProviderNameByClientId(String clientId,
String clientType,
String tenantDomain)
Define any additional actions before getting service provider name by client id.
|
boolean |
doPreGetServiceProviderNameByClientIdExcludingFileBasedSPs(String name,
String clientId,
String type,
String tenantDomain)
Define any additional actions before getting service provider name by client id, excluding file based ones.
|
boolean |
doPreUpdateApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain,
String userName)
Define any additional actions before updating an application
|
default boolean |
doPreUpdateApplicationTemplate(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain)
Define any additional actions before updating an application template.
|
int |
getDefaultOrderId()
Get the default order identifier for this listener.
|
int |
getExecutionOrderId()
Get the execution order identifier for this listener.
|
boolean |
isEnable()
Check whether the listener is enabled or not
|
default void |
onPreCreateInbound(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
boolean isUpdate)
Define any addition actions before creating inbound keys.
|
int getExecutionOrderId()
int getDefaultOrderId()
boolean isEnable()
boolean doPreCreateApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain,
String userName)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProvider - Created Service ProvidertenantDomain - Tenant domain of the useruserName - User name of the userorg.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPostCreateApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain,
String userName)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProvider - tenantDomain - userName - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPreUpdateApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain,
String userName)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProvider - tenantDomain - userName - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPostUpdateApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain,
String userName)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProvider - tenantDomain - userName - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPreDeleteApplication(String applicationName, String tenantDomain, String userName) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
applicationName - tenantDomain - userName - org.wso2.carbon.identity.application.common.IdentityApplicationManagementException@Deprecated boolean doPostDeleteApplication(String applicationName, String tenantDomain, String userName) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
applicationName - name of the Service Provider.tenantDomain - tenant domain of the user who created the Service Provider.userName - userName of the user who created the Service Provider.org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault boolean doPostDeleteApplication(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain,
String userName)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProvider - created Service Provider object.tenantDomain - tenant domain of the user who created the Service Provider.userName - userName of the user who created the Service Provider.org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPreGetServiceProvider(String applicationName, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
applicationName - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPostGetServiceProvider(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String applicationName,
String tenantDomain)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
applicationName - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPreGetServiceProviderByClientId(String clientId, String clientType, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
clientId - clientType - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPostGetServiceProviderByClientId(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceprovider,
String clientId,
String clientType,
String tenantDomain)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceprovider - clientId - clientType - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPreGetAllApplicationBasicInfo(String tenantDomain, String username) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
tenantDomain - username - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPostGetAllApplicationBasicInfo(ApplicationDAO appDAO, String tenantDomain, String username) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
appDAO - tenantDomain - username - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPreGetApplicationExcludingFileBasedSPs(String applicationName, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
applicationName - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPostGetApplicationExcludingFileBasedSPs(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String applicationName,
String tenantDomain)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProvider - applicationName - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault boolean doPreGetApplicationBasicInfo(String tenantDomain, String username, String filter) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
tenantDomain - Tenant Domainusername - User Namefilter - Application name filterorg.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault boolean doPostGetApplicationBasicInfo(ApplicationDAO appDAO, String tenantDomain, String username, String filter) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
appDAO - Application Data Access ObjecttenantDomain - Tenant Domainusername - User Namefilter - Application name filterorg.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPreGetServiceProviderNameByClientId(String clientId, String clientType, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
clientId - clientType - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPostGetServiceProviderNameByClientId(String name, String clientId, String clientType, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
name - clientId - clientType - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionboolean doPreGetServiceProviderNameByClientIdExcludingFileBasedSPs(String name, String clientId, String type, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
name - clientId - type - tenantDomain - org.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault boolean doPostGetServiceProviderNameByClientIdExcludingFileBasedSPs(String name, String clientId, String type, String tenantDomain)
name - clientId - type - tenantDomain - default void doImportServiceProvider(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProvider - service Providerorg.wso2.carbon.identity.application.common.IdentityApplicationManagementException - Identity Application Management Exceptiondefault void doExportServiceProvider(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
Boolean exportSecrets)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProvider - service ProviderexportSecrets - is export secretsorg.wso2.carbon.identity.application.common.IdentityApplicationManagementException - Identity Application Management Exceptiondefault void onPreCreateInbound(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
boolean isUpdate)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProvider - service ProviderisUpdate - isUpdateorg.wso2.carbon.identity.application.common.IdentityApplicationManagementException - Identity Application Management Exceptiondefault boolean doPreCreateApplicationTemplate(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProvider - SP templatetenantDomain - tenant domainorg.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptiondefault boolean doPreUpdateApplicationTemplate(org.wso2.carbon.identity.application.common.model.ServiceProvider serviceProvider,
String tenantDomain)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
serviceProvider - SP templatetenantDomain - tenant domainorg.wso2.carbon.identity.application.common.IdentityApplicationManagementExceptionCopyright © 2020 WSO2. All rights reserved.