Netbeans JavaServerPages Glassfish and https
How to get Glassfish to require https
MyCoolProject->Configuration File
web.xml
Security tab
Security Constraint -> Add
Display Name: (Whatever - Doesn't matter)
Web Resource Collection -> Add
Resource Name: (Whatever again)
Resource Description: (Whatever again... again)
URL Pattern: /*
The /* pattern will protect all pages
OK
Enable User Data Constraint -> Check
Description: (Another entry that doesn't affect anything)
Transport Gaurantee: CONFIDENTIAL
Save changes
Now your project should redirect from
http://localhost:8081/MyCoolProject
to
https://localhost:8181/MyCoolProject
Yea......
Lee Lofgren
Accounting Enhancements, Inc
Last Updated: 05/22/2009