@Deprecated public class SecurityPersistenceUtils extends Object
| Constructor and Description |
|---|
SecurityPersistenceUtils()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isUserAuthorized(String serviceGroupId,
String serviceId,
org.wso2.carbon.user.core.UserRealm realm,
String tenantAwareUserName,
String permissionType,
org.wso2.carbon.core.persistence.file.ServiceGroupFilePersistenceManager serviceGroupFilePM)
Deprecated.
do not use this method
|
public static boolean isUserAuthorized(String serviceGroupId, String serviceId, org.wso2.carbon.user.core.UserRealm realm, String tenantAwareUserName, String permissionType, org.wso2.carbon.core.persistence.file.ServiceGroupFilePersistenceManager serviceGroupFilePM) throws org.wso2.carbon.user.core.UserStoreException
serviceGroupId - serviceGroupIdserviceId - serviceIdrealm - realmtenantAwareUserName - tenantAwareUserNamepermissionType - Probably UserCoreConstants.INVOKE_SERVICE_PERMISSION is all you need for thisserviceGroupFilePM - serviceGroupFilePMorg.wso2.carbon.user.core.UserStoreExceptionCopyright © 2020 WSO2. All rights reserved.