| Package | Description |
|---|---|
| org.wso2.carbon.device.mgt.common.authorization |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DeviceAccessAuthorizationService.isDeviceAdminUser()
This method will check whether the authenticated user has the admin permissions.
|
boolean |
DeviceAccessAuthorizationService.isUserAuthorized(DeviceIdentifier deviceIdentifier)
This method will check whether the currently logged-in user has the access to the device identified by the given
DeviceIdentifier.
|
boolean |
DeviceAccessAuthorizationService.isUserAuthorized(DeviceIdentifier deviceIdentifier,
String username)
This method will check whether the given user has the access to the device identified by the given
DeviceIdentifier.
|
boolean |
DeviceAccessAuthorizationService.isUserAuthorized(DeviceIdentifier deviceIdentifier,
String[] groupPermissions)
This method will check whether the currently logged-in user has the access to the device identified by the given
DeviceIdentifier.
|
boolean |
DeviceAccessAuthorizationService.isUserAuthorized(DeviceIdentifier deviceIdentifier,
String username,
String[] groupPermissions)
This method will check whether the given user has the access to the device identified by the given
DeviceIdentifier.
|
DeviceAuthorizationResult |
DeviceAccessAuthorizationService.isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers)
This method will check whether the currently logged-in user has the access to the devices identified by the given
DeviceIdentifier list.
|
DeviceAuthorizationResult |
DeviceAccessAuthorizationService.isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers,
String username)
This method will check whether the given user has the access to the devices identified by the given
DeviceIdentifier list.
|
DeviceAuthorizationResult |
DeviceAccessAuthorizationService.isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers,
String[] groupPermissions)
This method will check whether the currently logged-in user has the access to the devices identified by the given
DeviceIdentifier list.
|
DeviceAuthorizationResult |
DeviceAccessAuthorizationService.isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers,
String username,
String[] groupPermissions)
This method will check whether the given user has the access to the devices identified by the given
DeviceIdentifier list.
|
Copyright © 2017 WSO2. All rights reserved.