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