Your SlideShare is downloading. ×
Desenvolupament d’aplicacions web (DAW) - UF2 - Act5
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Desenvolupament d’aplicacions web (DAW) - UF2 - Act5

164

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
164
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. UF2 – Act5Real Films Glassfish Glassfish – JDBC RealmLaia Luna – IES Milà i Fontanals
  • 2. Web.xmlCrear nou projecte de Java Web Application: WebApplicationSecurNew > Other > Web > Standard Deployment Descriptor (web.xml)En la pestanya Security:
  • 3. Web.xml
  • 4. New > Other > GlassFish > GlassFish DescriptorEn la pestanya Security:
  • 5. Pàgines en el projecte
  • 6. Pàgines en el projecte
  • 7. Pàgines en el projecteQuan s’acaba. Inicio > Generar. Ens generarà un fitxer .war enla carpeta DIST.
  • 8. Configuració GlassfishNavegador: www.localhost/4848 Security > Realms >file
  • 9. Configuració Glassfish
  • 10. Comprobació:
  • 11. Exercici 1Fer el mateix però amb formularis nostres:Modificar web.xml la pestanya Security
  • 12. Comprobacio amb formularis
  • 13. BibliografiaSegui això:http://netbeans.org/kb/docs/web/security-webapps.html

×