public class RemoteAuthorizationManager extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
static RemoteAuthorizationManager |
getInstance() |
String[] |
getRoleNames() |
String[] |
getRolesOfUser(String user) |
void |
init() |
boolean |
isUserAuthorized(String user,
String permission) |
public static RemoteAuthorizationManager getInstance()
public void init()
public void destroy()
public boolean isUserAuthorized(String user, String permission) throws org.wso2.carbon.appmgt.api.AppManagementException
org.wso2.carbon.appmgt.api.AppManagementExceptionpublic String[] getRolesOfUser(String user) throws org.wso2.carbon.appmgt.api.AppManagementException
org.wso2.carbon.appmgt.api.AppManagementExceptionpublic String[] getRoleNames() throws org.wso2.carbon.appmgt.api.AppManagementException
org.wso2.carbon.appmgt.api.AppManagementExceptionCopyright © 2017 WSO2. All rights reserved.