Jetty 9 - redirect http to httpsHow to have Jetty redirect http to https on the same port?In Nginx, how can I...
Why do phishing e-mails use faked e-mail addresses instead of the real one?
Generating a list with duplicate entries
Trigger on Custom Object Share
Use Mercury as quenching liquid for swords?
Rationale to prefer local variables over instance variables?
How do property taxes on school district bonds work?
Why does a car's steering wheel get lighter with increasing speed
I am the person who abides by rules but breaks the rules . Who am I
Is this Paypal Github SDK reference really a dangerous site?
How to recover against Snake as a heavyweight character?
Is it a Cyclops number? "Nobody" knows!
Does the US political system, in principle, allow for a no-party system?
Is there a math expression equivalent to the conditional ternary operator?
Is this a crown race?
Why would /etc/passwd be used every time someone executes `ls -l` command?
School performs periodic password audits. Is my password compromised?
Insult for someone who "doesn't know anything"
What the error in writing this equation by latex?
What exactly is the meaning of "fine wine"?
How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?
Too soon for a plot twist?
Sort array by month and year
What can I do if someone tampers with my SSH public key?
Professor forcing me to attend a conference, I can't afford even with 50% funding
Jetty 9 - redirect http to https
How to have Jetty redirect http to https on the same port?In Nginx, how can I rewrite all http requests to https while maintaining sub-domain?Redirect, Change URLs or Redirect HTTP to HTTPS in Apache - Everything You Ever Wanted to Know About Mod_Rewrite Rules but Were Afraid to AskHow to force or redirect to SSL in nginx?How to redirect every https request to http in Nginx?HAProxy redirect HTTPS to HTTPIs it bad to redirect http to https?https reverse proxy on http jettyHttps to http redirect for only one of multiple sites on the same serverHTTP to HTTPS redirect even for IPBest way to redirect all HTTP to HTTPS in IIS
I'd like to force use of https in Jetty 9. Apparently:
<Set name="confidentialPort">443</Set>
no longer works in jetty 9. How should I do it properly?
ssl http redirect https jetty
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'd like to force use of https in Jetty 9. Apparently:
<Set name="confidentialPort">443</Set>
no longer works in jetty 9. How should I do it properly?
ssl http redirect https jetty
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'd like to force use of https in Jetty 9. Apparently:
<Set name="confidentialPort">443</Set>
no longer works in jetty 9. How should I do it properly?
ssl http redirect https jetty
I'd like to force use of https in Jetty 9. Apparently:
<Set name="confidentialPort">443</Set>
no longer works in jetty 9. How should I do it properly?
ssl http redirect https jetty
ssl http redirect https jetty
asked Sep 29 '13 at 14:47
jimmyjimmy
113
113
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This resource says to add this to your web.xml
<web-app>
...
<security-constraint>
<web-resource-collection>
<web-resource-name>Everything in the webapp</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
</web-app>
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f542480%2fjetty-9-redirect-http-to-https%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This resource says to add this to your web.xml
<web-app>
...
<security-constraint>
<web-resource-collection>
<web-resource-name>Everything in the webapp</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
</web-app>
add a comment |
This resource says to add this to your web.xml
<web-app>
...
<security-constraint>
<web-resource-collection>
<web-resource-name>Everything in the webapp</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
</web-app>
add a comment |
This resource says to add this to your web.xml
<web-app>
...
<security-constraint>
<web-resource-collection>
<web-resource-name>Everything in the webapp</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
</web-app>
This resource says to add this to your web.xml
<web-app>
...
<security-constraint>
<web-resource-collection>
<web-resource-name>Everything in the webapp</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
</web-app>
edited Jun 26 '14 at 9:33
masegaloeh
16.3k73985
16.3k73985
answered Jun 26 '14 at 8:12
Mafro34Mafro34
1013
1013
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f542480%2fjetty-9-redirect-http-to-https%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown