本文整理汇总了Java中org.xdi.model.custom.script.type.scim.ScimType类的典型用法代码示例。如果您正苦于以下问题:Java ScimType类的具体用法?Java ScimType怎么用?Java ScimType使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ScimType类属于org.xdi.model.custom.script.type.scim包,在下文中一共展示了ScimType类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: executeScimCreateUserMethod
import org.xdi.model.custom.script.type.scim.ScimType; //导入依赖的package包/类
public boolean executeScimCreateUserMethod(GluuCustomPerson user, CustomScriptConfiguration customScriptConfiguration) {
try {
log.debug("Executing python 'SCIM Create User' method");
ScimType externalType = (ScimType) customScriptConfiguration.getExternalType();
Map<String, SimpleCustomProperty> configurationAttributes = customScriptConfiguration.getConfigurationAttributes();
boolean result = externalType.createUser(user, configurationAttributes);
log.debug("executeScimCreateUserMethod result = " + result);
return result;
} catch (Exception ex) {
ex.printStackTrace();
}
return false;
}
示例2: executeScimUpdateUserMethod
import org.xdi.model.custom.script.type.scim.ScimType; //导入依赖的package包/类
public boolean executeScimUpdateUserMethod(GluuCustomPerson user, CustomScriptConfiguration customScriptConfiguration) {
try {
log.debug("Executing python 'SCIM Update User' method");
ScimType externalType = (ScimType) customScriptConfiguration.getExternalType();
Map<String, SimpleCustomProperty> configurationAttributes = customScriptConfiguration.getConfigurationAttributes();
boolean result = externalType.updateUser(user, configurationAttributes);
log.debug("executeScimUpdateUserMethod result = " + result);
return result;
} catch (Exception ex) {
ex.printStackTrace();
}
return false;
}
示例3: executeScimDeleteUserMethod
import org.xdi.model.custom.script.type.scim.ScimType; //导入依赖的package包/类
public boolean executeScimDeleteUserMethod(GluuCustomPerson user, CustomScriptConfiguration customScriptConfiguration) {
try {
log.debug("Executing python 'SCIM Delete User' method");
ScimType externalType = (ScimType) customScriptConfiguration.getExternalType();
Map<String, SimpleCustomProperty> configurationAttributes = customScriptConfiguration.getConfigurationAttributes();
boolean result = externalType.deleteUser(user, configurationAttributes);
log.debug("executeScimDeleteUserMethod result = " + result);
return result;
} catch (Exception ex) {
ex.printStackTrace();
}
return false;
}
示例4: executeScimCreateGroupMethod
import org.xdi.model.custom.script.type.scim.ScimType; //导入依赖的package包/类
public boolean executeScimCreateGroupMethod(GluuGroup group, CustomScriptConfiguration customScriptConfiguration) {
try {
log.debug("Executing python 'SCIM Create Group' method");
ScimType externalType = (ScimType) customScriptConfiguration.getExternalType();
Map<String, SimpleCustomProperty> configurationAttributes = customScriptConfiguration.getConfigurationAttributes();
boolean result = externalType.createGroup(group, configurationAttributes);
log.debug("executeScimCreateGroupMethod result = " + result);
return result;
} catch (Exception ex) {
ex.printStackTrace();
}
return false;
}
示例5: executeScimUpdateGroupMethod
import org.xdi.model.custom.script.type.scim.ScimType; //导入依赖的package包/类
public boolean executeScimUpdateGroupMethod(GluuGroup group, CustomScriptConfiguration customScriptConfiguration) {
try {
log.debug("Executing python 'SCIM Update Group' method");
ScimType externalType = (ScimType) customScriptConfiguration.getExternalType();
Map<String, SimpleCustomProperty> configurationAttributes = customScriptConfiguration.getConfigurationAttributes();
boolean result = externalType.updateGroup(group, configurationAttributes);
log.debug("executeScimUpdateGroupMethod result = " + result);
return result;
} catch (Exception ex) {
ex.printStackTrace();
}
return false;
}
示例6: executeScimDeleteGroupMethod
import org.xdi.model.custom.script.type.scim.ScimType; //导入依赖的package包/类
public boolean executeScimDeleteGroupMethod(GluuGroup group, CustomScriptConfiguration customScriptConfiguration) {
try {
log.debug("Executing python 'SCIM Delete Group' method");
ScimType externalType = (ScimType) customScriptConfiguration.getExternalType();
Map<String, SimpleCustomProperty> configurationAttributes = customScriptConfiguration.getConfigurationAttributes();
boolean result = externalType.deleteGroup(group, configurationAttributes);
log.debug("executeScimDeleteGroupMethod result = " + result);
return result;
} catch (Exception ex) {
ex.printStackTrace();
}
return false;
}