Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active April 14, 2018 15:07
Show Gist options
  • Save AdamBien/d2bdc699f8f39948ff04126f3d09227d to your computer and use it in GitHub Desktop.
Save AdamBien/d2bdc699f8f39948ff04126f3d09227d to your computer and use it in GitHub Desktop.
49thAirhacksQ&A.md
@vanuatoo
Copy link

vanuatoo commented Apr 9, 2018

Please take a look at this Java EE 8 project.
https://github.com/vanuatoo/soteria
I want to achieve the following:
AuthenticationMechanism is not called when accessing /resources/auth resource.
I tried using web.xml and indicating security-constraint, but it's ignored and security mechanism is invoked for every request to resources/* URL.

How can I do that?

@pkumar72
Copy link

Thin war (200K) file.

Hi Adam,
You have talked at various time about thin war. when i add hibernate (5.2) to my POM file the war file size increases to 10MB. I want to deploy this on Payara 5 server. Is there a another way to keep the war file size small when i want to use JPA using hibernate. i tried copying the hibernate5.2.final.zip file to payara domain/domain1/lib/ext folder. The deployment failed.

Thanks
Prashanth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment