Title: JAX-RS Declarative Security tests are failing · Issue #246 · javaee-samples/javaee7-samples · GitHub
Open Graph Title: JAX-RS Declarative Security tests are failing · Issue #246 · javaee-samples/javaee7-samples
X Title: JAX-RS Declarative Security tests are failing · Issue #246 · javaee-samples/javaee7-samples
Description: Running with the default profile mvn clean package results with testGetSubResourceWithCorrectCredentials(org.javaee7.jaxrs.security.declarative.MyResourceTest) Time elapsed: 0.415 sec <<< FAILURE! java.lang.AssertionError: Basic authenti...
Open Graph Description: Running with the default profile mvn clean package results with testGetSubResourceWithCorrectCredentials(org.javaee7.jaxrs.security.declarative.MyResourceTest) Time elapsed: 0.415 sec <<< FAILURE! ...
X Description: Running with the default profile mvn clean package results with testGetSubResourceWithCorrectCredentials(org.javaee7.jaxrs.security.declarative.MyResourceTest) Time elapsed: 0.415 sec <<< ...
Opengraph URL: https://github.com/javaee-samples/javaee7-samples/issues/246
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JAX-RS Declarative Security tests are failing","articleBody":"Running with the default profile `mvn clean package` results with\n\n```\ntestGetSubResourceWithCorrectCredentials(org.javaee7.jaxrs.security.declarative.MyResourceTest) Time elapsed: 0.415 sec \u003c\u003c\u003c FAILURE!\njava.lang.AssertionError: Basic authentication required: {realm=\"file\"}\n at org.junit.Assert.fail(Assert.java:88)\n at org.javaee7.jaxrs.security.declarative.MyResourceTest.testGetSubResourceWithCorrectCredentials(MyResourceTest.java:70)\n\ntestGetWithCorrectCredentials(org.javaee7.jaxrs.security.declarative.MyResourceTest) Time elapsed: 0.054 sec \u003c\u003c\u003c FAILURE!\njava.lang.AssertionError: Basic authentication required: {realm=\"file\"}\n at org.junit.Assert.fail(Assert.java:88)\n at org.javaee7.jaxrs.security.declarative.MyResourceTest.testGetWithCorrectCredentials(MyResourceTest.java:55)\n\n\nResults :\n\nFailed tests: \n MyResourceTest.testGetSubResourceWithCorrectCredentials:70 Basic authentication required: {realm=\"file\"}\n MyResourceTest.testGetWithCorrectCredentials:55 Basic authentication required: {realm=\"file\"}\n```\n\nIf the test required some special setup which cannot be automated as a part of a build it should at least be documented in the module's README.\n","author":{"url":"https://github.com/bartoszmajsak","@type":"Person","name":"bartoszmajsak"},"datePublished":"2014-08-12T12:32:50Z","url":"https://github.com/javaee-samples/javaee7-samples/issues/246"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b33afedd-dd25-b768-3d30-2480b226a82b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A54:D1D28:11B6BAC:1789F85:6B01E906 |
| html-safe-nonce | b4ba1b1f9e66c307148ebaa816adecf6e6baff3b78fd472942305bb4a6a0c075 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTU0OkQxRDI4OjExQjZCQUM6MTc4OUY4NTo2QjAxRTkwNiIsInZpc2l0b3JfaWQiOiI3MTQ1NTc0OTczNzYyMDM4MDIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b033ac2f610997ee3e6fc496aea0169893481fe1339d461f9ba5ef9b69073d11 |
| hovercard-subject-tag | issue:40050204 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/javaee-samples/javaee7-samples/246/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6797e7be2e8ac88f2b1cf731cf6f764175386e6e9d7a8b703c1bf21a45f92cd3/javaee-samples/javaee7-samples/issues/246 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6797e7be2e8ac88f2b1cf731cf6f764175386e6e9d7a8b703c1bf21a45f92cd3/javaee-samples/javaee7-samples/issues/246 |
| og:image:alt | Running with the default profile mvn clean package results with testGetSubResourceWithCorrectCredentials(org.javaee7.jaxrs.security.declarative.MyResourceTest) Time elapsed: 0.415 sec <<< FAILURE! ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bartoszmajsak |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/javaee-samples/javaee7-samples git https://github.com/javaee-samples/javaee7-samples.git |
| octolytics-dimension-user_id | 6052086 |
| octolytics-dimension-user_login | javaee-samples |
| octolytics-dimension-repository_id | 12414592 |
| octolytics-dimension-repository_nwo | javaee-samples/javaee7-samples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12414592 |
| octolytics-dimension-repository_network_root_nwo | javaee-samples/javaee7-samples |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width