当前位置: 首页>>代码示例>>Java>>正文


Java ScimType类代码示例

本文整理汇总了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;
    }
 
开发者ID:AgarwalNeha1,项目名称:gluu,代码行数:23,代码来源:ExternalScimService.java

示例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;
    }
 
开发者ID:AgarwalNeha1,项目名称:gluu,代码行数:23,代码来源:ExternalScimService.java

示例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;
    }
 
开发者ID:AgarwalNeha1,项目名称:gluu,代码行数:23,代码来源:ExternalScimService.java

示例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;
    }
 
开发者ID:AgarwalNeha1,项目名称:gluu,代码行数:23,代码来源:ExternalScimService.java

示例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;
    }
 
开发者ID:AgarwalNeha1,项目名称:gluu,代码行数:23,代码来源:ExternalScimService.java

示例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;
    }
 
开发者ID:AgarwalNeha1,项目名称:gluu,代码行数:23,代码来源:ExternalScimService.java


注:本文中的org.xdi.model.custom.script.type.scim.ScimType类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。