public class IdentityProviderMgtServiceClient extends Object
| Constructor and Description |
|---|
IdentityProviderMgtServiceClient(String sessionCookie,
String backEndUrl) |
IdentityProviderMgtServiceClient(String cookie,
String backendServerURL,
org.apache.axis2.context.ConfigurationContext configCtx) |
IdentityProviderMgtServiceClient(String userName,
String password,
String backEndUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
addIdP(org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider identityProvider)
Adds an Identity Provider to the given tenant
|
void |
deleteIdP(String idPName)
Deletes an Identity Provider from a given tenant
|
Map<String,org.wso2.carbon.identity.application.common.model.idp.xsd.FederatedAuthenticatorConfig> |
getAllAvailableFederatedAuthenticators()
Get all available federated authenticators
|
Map<String,org.wso2.carbon.identity.application.common.model.idp.xsd.FederatedAuthenticatorConfig> |
getAllFederatedAuthenticators()
Get all available custom federated authenticators
|
String[] |
getAllLocalClaimUris() |
Map<String,org.wso2.carbon.identity.application.common.model.idp.xsd.ProvisioningConnectorConfig> |
getAllProvisioningConnectors()
Function to retrieve all provisioning connectors
|
Map<String,org.wso2.carbon.identity.application.common.model.idp.xsd.ProvisioningConnectorConfig> |
getCustomProvisioningConnectors() |
List<org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider> |
getEnabledIdPs()
Retrieves Enabled registered Identity providers for a given tenant
|
org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider |
getIdPByName(String idPName)
Retrieves Identity provider information about a given tenant by Identity Provider name
|
List<org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider> |
getIdPs()
Retrieves registered Identity providers for a given tenant
|
org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider |
getResidentIdP()
Retrieves Resident Identity provider for a given tenant
|
String[] |
getUserStoreDomains() |
void |
updateIdP(String oldIdPName,
org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider identityProvider)
Updates a given Identity Provider information
|
void |
updateResidentIdP(org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider identityProvider)
Updated Resident Identity provider for a given tenant
|
public IdentityProviderMgtServiceClient(String userName, String password, String backEndUrl) throws org.apache.axis2.AxisFault
userName - User namepassword - PasswordbackEndUrl - Backend Carbon server URLorg.apache.axis2.AxisFaultpublic IdentityProviderMgtServiceClient(String sessionCookie, String backEndUrl) throws org.apache.axis2.AxisFault
sessionCookie - HttpSession cookiebackEndUrl - Backend Carbon server URLorg.apache.axis2.AxisFaultpublic org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider getResidentIdP()
throws Exception
FederatedIdentityProviderException - Error when getting Resident Identity Providerspublic void updateResidentIdP(org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider identityProvider)
throws Exception
Exception - Error when getting Resident Identity Providerspublic List<org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider> getIdPs() throws Exception
FederatedIdentityProvider. IdP names, primary IdP and home realm
identifiers of each IdPException - Error when getting list of Identity Providerspublic List<org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider> getEnabledIdPs() throws Exception
FederatedIdentityProvider. IdP names, primary IdP and home realm
identifiers of each IdPException - Error when getting list of Identity Providerspublic org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider getIdPByName(String idPName) throws Exception
idPName - Unique name of the Identity provider of whose information is requestedFederatedIdentityProvider Identity Provider informationException - Error when getting Identity Provider information by IdP namepublic void addIdP(org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider identityProvider)
throws Exception
identityProvider - federated Identity
Provider informationException - Error when adding Identity Provider informationpublic void deleteIdP(String idPName) throws Exception
idPName - Name of the IdP to be deletedException - Error when deleting Identity Provider informationpublic void updateIdP(String oldIdPName, org.wso2.carbon.identity.application.common.model.idp.xsd.IdentityProvider identityProvider) throws Exception
oldIdPName - existing IdP nameidentityProvider - FederatedIdentityProvider new IdP informationException - Error when updating Identity Provider informationpublic Map<String,org.wso2.carbon.identity.application.common.model.idp.xsd.FederatedAuthenticatorConfig> getAllFederatedAuthenticators() throws Exception
Exceptionpublic Map<String,org.wso2.carbon.identity.application.common.model.idp.xsd.FederatedAuthenticatorConfig> getAllAvailableFederatedAuthenticators() throws Exception
Exceptionpublic Map<String,org.wso2.carbon.identity.application.common.model.idp.xsd.ProvisioningConnectorConfig> getCustomProvisioningConnectors() throws Exception
Exceptionpublic Map<String,org.wso2.carbon.identity.application.common.model.idp.xsd.ProvisioningConnectorConfig> getAllProvisioningConnectors() throws Exception
Exceptionpublic String[] getAllLocalClaimUris() throws Exception
ExceptionCopyright © 2007–2016 WSO2. All rights reserved.