Forcing requests to https in JBoss and Tomcat
Issue
- How do I restrict admin-console web-applet to https?
- How can I add a data constraint to enable automatic redirect from port 8080?
- How can I use JBossWeb's RewriteValve to redirect all HTTP traffic to the HTTPS connector?
- How can the users connecting on 8080 http to be redirected to 8443 https?
- We are facing some issue regarding HTTP to HTTPS redirection.
- I have two services on
jboss eap 6.4.1. Now services are aviable via http and https.
http://host:8080/sevice1
http://host:8080/service2
https://host:8443/service1
https://host:8443/service2
Is it possible to configure jboss to serve ONE from services only via https and SECOND via both - secured and unsecured protocols ? Like the following :
http://host:8080/service2
https://host:8443/service1
https://host:8443/service2
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 5.x
- JBoss Enterprise Web Server (JWS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
