identityuserstoreadmin.java

来自「开源的OpenId的一个java实现」· Java 代码 · 共 37 行

JAVA
37
字号
package org.wso2.solutions.identity.users;

import java.util.Map;

import org.wso2.usermanager.UserManagerException;

/**
 * This interface adds the functionality related to multiple profiles. A given
 * user can have multiple profiles with different attribute values. This
 * contains methods corresponding to adding attribute values to user profiles.
 */
public interface IdentityUserStoreAdmin {

    /**
     * This sets user properties corresponding to the given user name and the
     * profile name.
     * @param userName Unique user name
     * @param properties Profile properties
     * @param profileName Name of the profile
     * @throws UserManagerException
     */
    public void setUserProperties(String userName, Map<String,String> properties,
            String profileName) throws UserManagerException;
    
    /**
     * This updates user properties corresponding to the given user name and the
     * profile name.
     * @param userName Unique user name
     * @param properties Profile properties
     * @param profileName Name of the profile
     * @throws UserManagerException
     */
    public void updateUserProperties(String userName, Map<String,String> properties,
            String profileName) throws UserManagerException;

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?