Class MatterMostProvider
java.lang.Object
com.tremolosecurity.provisioning.core.providers.MatterMostProvider
- All Implemented Interfaces:
UserStoreProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncallDeleteWS(HttpCon con, String uri) callWSPost(HttpCon con, String uri, String json) voidvoiddeleteUser(User user, Map<String, Object> request) voidorg.json.simple.JSONObjectloadUserJson(String userID, HttpCon con) voidsetUserPassword(User user, Map<String, Object> request) voidshutdown()void
-
Constructor Details
-
MatterMostProvider
public MatterMostProvider()
-
-
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
-
loadUserJson
public org.json.simple.JSONObject loadUserJson(String userID, HttpCon con) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException, org.json.simple.parser.ParseException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningExceptionorg.json.simple.parser.ParseException
-
init
public void init(Map<String, Attribute> cfg, ConfigManager cfgMgr, String name) throws ProvisioningException- Specified by:
initin interfaceUserStoreProvider- Throws:
ProvisioningException
-
shutdown
- Specified by:
shutdownin interfaceUserStoreProvider- Throws:
ProvisioningException
-
createClient
-
callWS
public String callWS(HttpCon con, String uri) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callDeleteWS
public String callDeleteWS(HttpCon con, String uri) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callWSPost
public String callWSPost(HttpCon con, String uri, String json) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-
callWSPut
public String callWSPut(HttpCon con, String uri, String json) throws IOException, org.apache.http.client.ClientProtocolException, ProvisioningException - Throws:
IOExceptionorg.apache.http.client.ClientProtocolExceptionProvisioningException
-