|
|
|
@ -55,8 +55,7 @@ public interface DeviceAccessAuthorizationService {
|
|
|
|
|
* DeviceIdentifier list.
|
|
|
|
|
*
|
|
|
|
|
* @param deviceIdentifiers - List of DeviceIdentifiers to be checked for authorization.
|
|
|
|
|
* @return DeviceAuthorizationResult - Authorization result including the list of authorized devices & unauthorized
|
|
|
|
|
* devices.
|
|
|
|
|
* @return DeviceAuthorizationResult - Authorization result including the list of authorized devices & unauthorized devices.
|
|
|
|
|
* @throws DeviceAccessAuthorizationException if something goes wrong when checking the authorization.
|
|
|
|
|
*/
|
|
|
|
|
DeviceAuthorizationResult isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers) throws
|
|
|
|
@ -68,8 +67,7 @@ public interface DeviceAccessAuthorizationService {
|
|
|
|
|
*
|
|
|
|
|
* @param deviceIdentifiers - List of DeviceIdentifiers to be checked for authorization.
|
|
|
|
|
* @param groupPermissions - Group Permissions
|
|
|
|
|
* @return DeviceAuthorizationResult - Authorization result including the list of authorized devices & unauthorized
|
|
|
|
|
* devices.
|
|
|
|
|
* @return DeviceAuthorizationResult - Authorization result including the list of authorized devices & unauthorized devices.
|
|
|
|
|
* @throws DeviceAccessAuthorizationException if something goes wrong when checking the authorization.
|
|
|
|
|
*/
|
|
|
|
|
DeviceAuthorizationResult isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers, String[] groupPermissions)
|
|
|
|
@ -95,8 +93,7 @@ public interface DeviceAccessAuthorizationService {
|
|
|
|
|
* @param deviceIdentifiers - List of DeviceIdentifiers to be checked for authorization.
|
|
|
|
|
* @param username - User name
|
|
|
|
|
* @param groupPermissions - Group Permissions
|
|
|
|
|
* @return DeviceAuthorizationResult - Authorization result including the list of authorized devices & unauthorized
|
|
|
|
|
* devices.
|
|
|
|
|
* @return DeviceAuthorizationResult - Authorization result including the list of authorized devices & unauthorized devices.
|
|
|
|
|
* @throws DeviceAccessAuthorizationException if something goes wrong when checking the authorization.
|
|
|
|
|
*/
|
|
|
|
|
DeviceAuthorizationResult isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers, String username,
|
|
|
|
@ -129,8 +126,7 @@ public interface DeviceAccessAuthorizationService {
|
|
|
|
|
*
|
|
|
|
|
* @param deviceIdentifiers - List of DeviceIdentifiers to be checked for authorization.
|
|
|
|
|
* @param username - Username of the user to be checked for authorization.
|
|
|
|
|
* @return DeviceAuthorizationResult - Authorization result including the list of authorized devices & unauthorized
|
|
|
|
|
* devices.
|
|
|
|
|
* @return DeviceAuthorizationResult - Authorization result including the list of authorized devices & unauthorized devices.
|
|
|
|
|
* @throws DeviceAccessAuthorizationException if something goes wrong when checking the authorization.
|
|
|
|
|
*/
|
|
|
|
|
DeviceAuthorizationResult isUserAuthorized(List<DeviceIdentifier> deviceIdentifiers, String username) throws
|
|
|
|
|