Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
FDO Manager Service
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
fdo
FDO Manager Service
Compare revisions
bc4c9a6fa75292e3ddc7006e73681c20c2897e32 to e8094771a7d445e39482d0d1419562083f1afa06
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
fdo/fdo-manager-service
Select target project
No results found
e8094771a7d445e39482d0d1419562083f1afa06
Select Git revision
Swap
Target
fdo/fdo-manager-service
Select target project
fdo/fdo-manager-service
1 result
bc4c9a6fa75292e3ddc7006e73681c20c2897e32
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
FIX: Authorization header
· e8094771
Timm Fitschen
authored
4 months ago
e8094771
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
application/src/main/java/com/indiscale/fdo/manager/service/authentication/AuthenticationInterceptor.java
+1
-1
1 addition, 1 deletion
...ger/service/authentication/AuthenticationInterceptor.java
with
1 addition
and
1 deletion
application/src/main/java/com/indiscale/fdo/manager/service/authentication/AuthenticationInterceptor.java
View file @
e8094771
...
...
@@ -14,7 +14,7 @@ public class AuthenticationInterceptor implements HandlerInterceptor {
@Override
public
boolean
preHandle
(
HttpServletRequest
request
,
HttpServletResponse
response
,
Object
handler
)
throws
Exception
{
String
header
=
request
.
getHeader
(
"auth
entic
ation"
);
String
header
=
request
.
getHeader
(
"auth
oriz
ation"
);
if
(
header
!=
null
&&
header
.
startsWith
(
"Bearer "
))
{
authenticator
.
setAuthenticator
(
new
AuthenticationToken
(
header
.
substring
(
7
)));
}
else
if
(
header
!=
null
&&
header
.
startsWith
(
"Basic "
))
{
...
...
This diff is collapsed.
Click to expand it.