public class AppPortalUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
createApplication(String appName,
String appOwner,
String appDescription,
String consumerKey,
String consumerSecret,
String tenantDomain)
Deprecated.
|
static void |
createApplication(String appName,
String appOwner,
String appDescription,
String consumerKey,
String consumerSecret,
String tenantDomain,
int tenantId,
String portalPath)
Create portal SaaS application.
|
static void |
createApplication(String appName,
String appOwner,
String appDescription,
String consumerKey,
String consumerSecret,
String tenantDomain,
String portalPath)
Deprecated.
|
static void |
createOAuth2Application(String applicationName,
String portalPath,
String consumerKey,
String consumerSecret,
String appOwner,
int tenantId,
String tenantDomain,
String bindingType,
List<String> grantTypes)
Create OAuth2 application.
|
static org.wso2.carbon.identity.application.common.model.InboundAuthenticationRequestConfig |
getOAuthInboundAuthenticationRequestConfig(org.wso2.carbon.identity.application.common.model.ServiceProvider application)
Get OAuth InboundAuthenticationRequestConfig of the application.
|
static void |
initiatePortals(String tenantDomain,
int tenantId)
Initiate portals.
|
static void |
initiatePortals(org.wso2.carbon.stratos.common.beans.TenantInfoBean tenantInfoBean)
Initiate portals.
|
public static void createOAuth2Application(String applicationName, String portalPath, String consumerKey, String consumerSecret, String appOwner, int tenantId, String tenantDomain, String bindingType, List<String> grantTypes) throws org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
applicationName - application name.portalPath - portal path.consumerKey - consumer key.consumerSecret - consumer secret.appOwner - application owner.tenantId - tenant id.tenantDomain - tenant domain.grantTypes - grant types.org.wso2.carbon.identity.oauth.IdentityOAuthAdminException - in case of failure.@Deprecated public static void createApplication(String appName, String appOwner, String appDescription, String consumerKey, String consumerSecret, String tenantDomain) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
createApplication(String, String, String, String, String, String, String)} instead.appName - Application name.appOwner - Application owner.appDescription - Application description.consumerKey - Consumer key.consumerSecret - Consumer secret.org.wso2.carbon.identity.application.common.IdentityApplicationManagementException - IdentityApplicationManagementException.public static void createApplication(String appName, String appOwner, String appDescription, String consumerKey, String consumerSecret, String tenantDomain, String portalPath) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
createApplication(String, String, String, String, String, String, int, String)} instead.appName - Application name.appOwner - Application owner.appDescription - Application description.consumerKey - Consumer key.consumerSecret - Consumer secret.portalPath - Portal path.org.wso2.carbon.identity.application.common.IdentityApplicationManagementException - IdentityApplicationManagementException.public static void createApplication(String appName, String appOwner, String appDescription, String consumerKey, String consumerSecret, String tenantDomain, int tenantId, String portalPath) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException
appName - Application name.appOwner - Application owner.appDescription - Application description.consumerKey - Consumer key.consumerSecret - Consumer secret.portalPath - Portal path.org.wso2.carbon.identity.application.common.IdentityApplicationManagementException - IdentityApplicationManagementException.public static void initiatePortals(String tenantDomain, int tenantId) throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException, org.wso2.carbon.identity.oauth.IdentityOAuthAdminException, org.wso2.carbon.user.core.UserStoreException
tenantDomain - tenant domain.tenantId - tenant id.org.wso2.carbon.identity.application.common.IdentityApplicationManagementException - IdentityApplicationManagementException.org.wso2.carbon.identity.oauth.IdentityOAuthAdminException - IdentityOAuthAdminException.org.wso2.carbon.user.api.UserStoreException - UserStoreException.org.wso2.carbon.user.core.UserStoreExceptionpublic static void initiatePortals(org.wso2.carbon.stratos.common.beans.TenantInfoBean tenantInfoBean)
throws org.wso2.carbon.identity.application.common.IdentityApplicationManagementException,
org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
tenantInfoBean - tenant info bean.org.wso2.carbon.identity.application.common.IdentityApplicationManagementException - IdentityApplicationManagementException.org.wso2.carbon.identity.oauth.IdentityOAuthAdminException - IdentityOAuthAdminException.org.wso2.carbon.user.api.UserStoreException - UserStoreException.public static org.wso2.carbon.identity.application.common.model.InboundAuthenticationRequestConfig getOAuthInboundAuthenticationRequestConfig(org.wso2.carbon.identity.application.common.model.ServiceProvider application)
application - application.Copyright © 2024 WSO2. All rights reserved.