{"id":23235333,"url":"https://github.com/marcosrachid/basic-restful-api-authentication","last_synced_at":"2026-04-08T21:31:42.028Z","repository":{"id":130887787,"uuid":"47436345","full_name":"marcosrachid/basic-restful-api-authentication","owner":"marcosrachid","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-23T05:56:41.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-29T09:43:54.446Z","etag":null,"topics":["java","java-8","maven","oauth2","rest","rest-api","rest-webservice","spring","spring-boot"],"latest_commit_sha":null,"homepage":null,"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/marcosrachid.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":"2015-12-05T00:53:47.000Z","updated_at":"2017-11-26T04:59:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a60e82a-c9ae-4f77-9af1-ddf282072405","html_url":"https://github.com/marcosrachid/basic-restful-api-authentication","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcosrachid/basic-restful-api-authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosrachid%2Fbasic-restful-api-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosrachid%2Fbasic-restful-api-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosrachid%2Fbasic-restful-api-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosrachid%2Fbasic-restful-api-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcosrachid","download_url":"https://codeload.github.com/marcosrachid/basic-restful-api-authentication/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosrachid%2Fbasic-restful-api-authentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31575443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["java","java-8","maven","oauth2","rest","rest-api","rest-webservice","spring","spring-boot"],"created_at":"2024-12-19T03:20:36.329Z","updated_at":"2026-04-08T21:31:42.023Z","avatar_url":"https://github.com/marcosrachid.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# basic-restful-webservice\nTemplate for REST webservice with spring\n\n## Tecnologies\n\n* Java 8\n* Spring Boot\n* Maven 3\n  * Release plugin\n  * FindBugs plugin\n* JUnit\n\n## Builds\n\nTo generate local builds with maven:\n```bash\n mvn clean install\n``` \nTo generate versioned builds for production and homologation enviroments:\n```\n  mvn release:clean\n  mvn release:prepare\n```\n\n## Deploys\n\nAfter building project, get .war file and run on your current web server:\n\n* Tomcat\n```bash\n\t./startup.sh\n```\n\n## Oauth Token Request\n\nCall this curl to get your access token:\n\n```bash\n\tcurl -X POST clientIdPassword:secret@localhost:8080//basic-oauth/oauth/token -d grant_type=password -d username=john -d password=123 -d client_id=clientIdPassword\n```\n\n## Oauth Method Request\n\nCall the curl with token like this to make use of the methods:\n\n```bash\n\tcurl -H \"Authorization: Bearer $TOKEN\" localhost:8080/basic-oauth/\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcosrachid%2Fbasic-restful-api-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcosrachid%2Fbasic-restful-api-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcosrachid%2Fbasic-restful-api-authentication/lists"}