public final class SelfSignUpUtil extends Object
| Constructor and Description |
|---|
SelfSignUpUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getDomainSpecificUserName(String username,
UserRegistrationConfigDTO signupConfig)
modify user name with user storeage information.
|
static List<String> |
getRoleNames(UserRegistrationConfigDTO config)
get the full role name list (ex: internal/subscriber)
|
static UserRegistrationConfigDTO |
getSignupConfiguration(int tenantId)
retrieve self signup configuration from registry
|
static boolean |
isUserNameWithAllowedDomainName(String userName,
org.wso2.carbon.user.core.UserRealm realm)
Check whether user can sign-up to the tenant domain
|
public static UserRegistrationConfigDTO getSignupConfiguration(int tenantId) throws org.wso2.carbon.appmgt.api.AppManagementException
tenantId - tenant idorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic static boolean isUserNameWithAllowedDomainName(String userName, org.wso2.carbon.user.core.UserRealm realm) throws org.wso2.carbon.appmgt.api.AppManagementException
userName - realm - org.wso2.carbon.appmgt.api.AppManagementExceptionpublic static List<String> getRoleNames(UserRegistrationConfigDTO config)
config - public static String getDomainSpecificUserName(String username, UserRegistrationConfigDTO signupConfig)
username - signupConfig - Copyright © 2017 WSO2. All rights reserved.