{"id":34836309,"url":"https://github.com/larsid/soft-iot-dlt-auth","last_synced_at":"2026-05-25T15:02:47.126Z","repository":{"id":75339479,"uuid":"322603934","full_name":"larsid/soft-iot-dlt-auth","owner":"larsid","description":"Bundle responsável por monitorar as novas conexões MQTT.","archived":false,"fork":false,"pushed_at":"2025-06-06T04:12:42.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T05:20:51.528Z","etag":null,"topics":["authentication","karaf","osgi-bundle","osgi-services","servicemix","soft-iot-dlt"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/larsid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-12-18T13:32:15.000Z","updated_at":"2025-06-06T04:11:55.000Z","dependencies_parsed_at":"2025-06-06T05:19:25.231Z","dependency_job_id":null,"html_url":"https://github.com/larsid/soft-iot-dlt-auth","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/larsid/soft-iot-dlt-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsid%2Fsoft-iot-dlt-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsid%2Fsoft-iot-dlt-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsid%2Fsoft-iot-dlt-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsid%2Fsoft-iot-dlt-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/larsid","download_url":"https://codeload.github.com/larsid/soft-iot-dlt-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsid%2Fsoft-iot-dlt-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28032308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","karaf","osgi-bundle","osgi-services","servicemix","soft-iot-dlt"],"created_at":"2025-12-25T16:01:39.345Z","updated_at":"2025-12-25T16:02:23.883Z","avatar_url":"https://github.com/larsid.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# soft-iot-dlt-auth\n\nO `soft-iot-dlt-auth` (ou `auth` para os mais próximos) é o _bundle_ responsável por monitorar as novas conexões MQTT.\nEle atua como um \"porteiro\" verificando se o dispositivo interessado em ser reconhecido pela plataforma `soft-iot-dlt` está autorizado.\n\n## Instalação\n\nPara instalar o `auth` é necessário [configurar o repositório fonte](https://github.com/larsid/soft-iot-dlt-architecture#repositório-fonte) e em seguida executar o seguinte comando no terminal do servicemix.\n\n    bundle:install mvn:com.github.larsid/soft-iot-dlt-auth/main\n\n## Configurações\n\nO `auth` já está configurado por padrão para se conectar serviço de mensageria e broker mqtt ActiveMQ do servicemix. Porém é possível alterar esse comportamente criando um arquivo de configuração chamado de `soft-iot-dlt-auth.cfg` na pasta `SERVICEMIX_HOME/etc` com as seguintes propriedades:\n\n| Propriedade  | Descrição                                                                    | Valor padrão    |\n| ------------ | ---------------------------------------------------------------------------- | --------------- |\n| MQTTServerId | Nome utilizado para identificar a conexão do auth no broker MQTT.            | P_AUTH_CLIENT   |\n| MQTTHost     | Define a URL do broker.                                                      | tcp://localhost |\n| MQTTPort     | Informa ao auth qual porta o broker está esperando novas conexões.           | 1883            |\n| MQTTUsername | Nome do usuário que o auth deve utilizar para se autenticar caso necessário. | karaf           |\n| MQTTPassword | Senha de autenticação do broker caso necessário.                             | karaf           |\n\n:warning: [Arquivo exemplo](src/main/resources/soft.iot.dlt.auth.cfg) :warning:\n\n---\n\n| :arrow_left: [architecture](https://github.com/larsid/soft-iot-dlt-architecture#readme) | ............................... :arrow_up: [Voltar ao topo](#soft-iot-dlt-auth) :arrow_up: ............................... | [load-monitor](https://github.com/larsid/soft-iot-dlt-load-monitor#readme) :arrow_right: |\n| :-------------------------------------------------------------------------------------: | -------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------: |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsid%2Fsoft-iot-dlt-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarsid%2Fsoft-iot-dlt-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsid%2Fsoft-iot-dlt-auth/lists"}