Class AzureADProvider
java.lang.Object
com.tremolosecurity.provisioning.core.providers.AzureADProvider
- All Implemented Interfaces:
UserStoreProvider,UserStoreProviderWithAddGroup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGroup(String name, Map<String, String> additionalAttributes, User user, Map<String, Object> request) voidcallDelete(HttpCon con, String uri) voidcallDelete(HttpCon con, String uri, int callNumber) voidcallWSPatchJson(HttpCon con, String uri, String json) voidcallWSPatchJson(HttpCon con, String uri, String json, int callNumber) voidcallWSPostJsonNoReesponseExpected(HttpCon con, String uri, String json) voidcallWSPostJsonNoReesponseExpected(HttpCon con, String uri, String json, int callNumber) callWSPostJsonReesponseExpected(HttpCon con, String uri, String json) callWSPostJsonReesponseExpected(HttpCon con, String uri, String json, int callNumber) voidvoidvoiddeleteUser(User user, Map<String, Object> request) getIdFromEmail(String email) voidbooleanvoidoverrideOauth2Token(String token) searchGroups(String name, int count) voidsetUserPassword(User user, Map<String, Object> request) voidshutdown()void
-
Constructor Details
-
AzureADProvider
public AzureADProvider()
-
-
Method Details
-
createUser
public void createUser(User user, Set<String> attributes, Map<String, Object> request) throws ProvisioningException- Specified by:
createUserin interfaceUserStoreProvider- Throws:
ProvisioningException
-
setUserPassword
- Specified by:
setUserPasswordin interfaceUserStoreProvider- Throws:
ProvisioningException
-
syncUser
public void syncUser(User user, boolean addOnly, Set<String> attributes, Map<String, Object> request) throws ProvisioningException- Specified by:
syncUserin interfaceUserStoreProvider- Throws:
ProvisioningException
-
deleteUser
- Specified by:
deleteUserin interfaceUserStoreProvider- Throws:
ProvisioningException
-
findUser
public User findUser(String userID, Set<String> attributes, Map<String, Object> request) throws ProvisioningException- Specified by:
findUserin interfaceUserStoreProvider- Throws:
ProvisioningException
-
init
public void init(Map<String, Attribute> cfg, ConfigManager cfgMgr, String name) throws ProvisioningException- Specified by:
initin interfaceUserStoreProvider- Throws:
ProvisioningException
-
addGroup
public void addGroup(String name, Map<String, String> additionalAttributes, User user, Map<String, throws ProvisioningExceptionObject> request) - Specified by:
addGroupin interfaceUserStoreProviderWithAddGroup- Throws:
ProvisioningException
-
deleteGroup
public void deleteGroup(String name, User user, Map<String, Object> request) throws ProvisioningException- Specified by:
deleteGroupin interfaceUserStoreProviderWithAddGroup- Throws:
ProvisioningException
-
isGroupExists
public boolean isGroupExists(String name, User user, Map<String, Object> request) throws ProvisioningException- Specified by:
isGroupExistsin interfaceUserStoreProviderWithAddGroup- Throws:
ProvisioningException
-
createClient
-
getIdFromEmail
- Throws:
ProvisioningException
-
callWS
public String callWS(HttpCon con, String uri) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callWS
public String callWS(HttpCon con, String uri, int callNumber) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callDelete
public void callDelete(HttpCon con, String uri) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callDelete
public void callDelete(HttpCon con, String uri, int callNumber) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callWSPatchJson
public void callWSPatchJson(HttpCon con, String uri, String json) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callWSPatchJson
public void callWSPatchJson(HttpCon con, String uri, String json, int callNumber) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callWSPostJsonNoReesponseExpected
public void callWSPostJsonNoReesponseExpected(HttpCon con, String uri, String json) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callWSPostJsonNoReesponseExpected
public void callWSPostJsonNoReesponseExpected(HttpCon con, String uri, String json, int callNumber) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callWSPostJsonReesponseExpected
public String callWSPostJsonReesponseExpected(HttpCon con, String uri, String json) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callWSPostJsonReesponseExpected
public String callWSPostJsonReesponseExpected(HttpCon con, String uri, String json, int callNumber) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
searchGroups
- Throws:
ProvisioningException
-
overrideOauth2Token
-
shutdown
- Specified by:
shutdownin interfaceUserStoreProvider- Throws:
ProvisioningException
-