Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
1d859149
Commit
1d859149
authored
Aug 16, 2016
by
Guus der Kinderen
Committed by
GitHub
Aug 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #633 from surevine/tls
OF-1173: X.509/TLS related fixes
parents
b662b0be
2a4a29d2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
SASLAuthentication.java
...ava/org/jivesoftware/openfire/net/SASLAuthentication.java
+1
-1
import-truststore-certificate.jsp
src/web/import-truststore-certificate.jsp
+1
-0
security-truststore.jsp
src/web/security-truststore.jsp
+2
-2
No files found.
src/java/org/jivesoftware/openfire/net/SASLAuthentication.java
View file @
1d859149
...
@@ -608,7 +608,7 @@ public class SASLAuthentication {
...
@@ -608,7 +608,7 @@ public class SASLAuthentication {
private
static
void
initMechanisms
()
private
static
void
initMechanisms
()
{
{
final
String
configuration
=
JiveGlobals
.
getProperty
(
"sasl.mechs"
,
"ANONYMOUS,PLAIN,DIGEST-MD5,CRAM-MD5,SCRAM-SHA-1,JIVE-SHAREDSECRET,GSSAPI"
);
final
String
configuration
=
JiveGlobals
.
getProperty
(
"sasl.mechs"
,
"ANONYMOUS,PLAIN,DIGEST-MD5,CRAM-MD5,SCRAM-SHA-1,JIVE-SHAREDSECRET,GSSAPI
,EXTERNAL
"
);
final
StringTokenizer
st
=
new
StringTokenizer
(
configuration
,
" ,\t\n\r\f"
);
final
StringTokenizer
st
=
new
StringTokenizer
(
configuration
,
" ,\t\n\r\f"
);
mechanisms
=
new
HashSet
<>();
mechanisms
=
new
HashSet
<>();
while
(
st
.
hasMoreTokens
()
)
while
(
st
.
hasMoreTokens
()
)
...
...
src/web/import-truststore-certificate.jsp
View file @
1d859149
...
@@ -140,6 +140,7 @@
...
@@ -140,6 +140,7 @@
<!-- BEGIN 'Import Certificate' -->
<!-- BEGIN 'Import Certificate' -->
<form
action=
"import-truststore-certificate.jsp?connectionType=${connectionType}"
method=
"post"
>
<form
action=
"import-truststore-certificate.jsp?connectionType=${connectionType}"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"${csrf}"
>
<fmt:message
key=
"ssl.import.certificate.truststore.boxtitle"
var=
"title"
/>
<fmt:message
key=
"ssl.import.certificate.truststore.boxtitle"
var=
"title"
/>
<admin:contentBox
title=
"
${
title
}
"
>
<admin:contentBox
title=
"
${
title
}
"
>
<table
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
>
<table
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
>
...
...
src/web/security-truststore.jsp
View file @
1d859149
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
// Log the event
// Log the event
webManager
.
logEvent
(
"deleted SSL cert from "
+
connectionType
+
" with alias "
+
alias
,
null
);
webManager
.
logEvent
(
"deleted SSL cert from "
+
connectionType
+
" with alias "
+
alias
,
null
);
response
.
sendRedirect
(
"security-
key
store.jsp?connectionType="
+
connectionType
+
"&deletesuccess=true"
);
response
.
sendRedirect
(
"security-
trust
store.jsp?connectionType="
+
connectionType
+
"&deletesuccess=true"
);
return
;
return
;
}
}
catch
(
Exception
e
)
catch
(
Exception
e
)
...
@@ -221,7 +221,7 @@
...
@@ -221,7 +221,7 @@
<c:out
value=
"
${
certificate
.
publicKey
.
algorithm
}
"
/>
<c:out
value=
"
${
certificate
.
publicKey
.
algorithm
}
"
/>
</td>
</td>
<td
width=
"1"
align=
"center"
>
<td
width=
"1"
align=
"center"
>
<a
href=
"security-truststore.jsp?connectionType=${connectionType}&alias=${alias}&delete=true&csrf=
csrf
"
<a
href=
"security-truststore.jsp?connectionType=${connectionType}&alias=${alias}&delete=true&csrf=
${csrf}
"
title=
"
<fmt:message
key=
"global.click_delete"
/>
"
title=
"
<fmt:message
key=
"global.click_delete"
/>
"
onclick=
"return confirm('
<fmt:message
key=
"ssl.certificates.confirm_delete"
/>
');"
onclick=
"return confirm('
<fmt:message
key=
"ssl.certificates.confirm_delete"
/>
');"
><img
src=
"images/delete-16x16.gif"
width=
"16"
height=
"16"
border=
"0"
alt=
""
></a>
><img
src=
"images/delete-16x16.gif"
width=
"16"
height=
"16"
border=
"0"
alt=
""
></a>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment