protected boolean isValid(EndpointDetachRequest endpointDetachRequest) { return endpointDetachRequest.getEndpointKeyHash() != null && !endpointDetachRequest.getEndpointKeyHash().isEmpty(); }
byte[] endpointKeyHash = Base64Util.decode(endpointDetachRequest.getEndpointKeyHash()); if (Arrays.equals(profile.getEndpointKeyHash(), endpointKeyHash)) { endpointService.detachEndpointFromUser(profile);
Base64Util.decode(detachRequest.getEndpointKeyHash())), state.getUserId(), endpointKey); context.parent().tell(attachMessage, context.self()); LOG.debug("[{}][{}] Notification to detached endpoint [{}] sent", endpointKey, actorKey, detachRequest.getEndpointKeyHash());