Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LilleConnect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giorgio Utzeri
LilleConnect
Commits
1b5f4b30
Commit
1b5f4b30
authored
2 months ago
by
Giorgio Utzeri
Browse files
Options
Downloads
Patches
Plain Diff
refacto encore..
parent
46c2e17f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
WEB-INF/src/controleurs/JwtManager.java
+0
-7
0 additions, 7 deletions
WEB-INF/src/controleurs/JwtManager.java
menu.jsp
+1
-1
1 addition, 1 deletion
menu.jsp
with
1 addition
and
8 deletions
WEB-INF/src/controleurs/JwtManager.java
+
0
−
7
View file @
1b5f4b30
package
controleurs
;
// code pompé ici : https://developer.okta.com/blog/2018/10/31/jwts-with-java
// lui-même inspiré par : https://www.baeldung.com/java-json-web-tokens-jjwt
// et sinon la doc : https://github.com/jwtk/jjwt/blob/master/README.md
// et réadapté grace à https://www.appsdeveloperblog.com/add-and-validate-custom-claims-in-jwt/
import
java.nio.charset.StandardCharsets
;
import
java.time.Instant
;
import
java.util.Date
;
...
...
This diff is collapsed.
Click to expand it.
menu.jsp
+
1
−
1
View file @
1b5f4b30
...
...
@@ -114,7 +114,7 @@
%>
<%
if
(
isImage
)
{
%>
<img
src=
"data:image/jpeg;base64,
<%=
encodedImage
%>
"
alt=
"Message Image"
class=
"contenu-img img-fluid"
/>
class=
"contenu-img img-fluid"
style=
"max-width: 60%;"
/>
<%
}
else
{
%>
<p
class=
"contenu"
><%=
new
String
(
messageData
,
"UTF-8"
)
%></p>
<%
}
%>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment