Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenID-Connect-Java-Spring-Server
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
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
Perun
Perun ProxyIdP
v1
OpenID-Connect-Java-Spring-Server
Merge requests
!392
feat:
allow claimModifier to replace old value (configurable)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat:
allow claimModifier to replace old value (configurable)
dBucik/claim_modifier_replace
into
main
Overview
1
Commits
1
Pipelines
2
Changes
3
Merged
Ghost User
requested to merge
dBucik/claim_modifier_replace
into
main
1 year ago
Overview
1
Commits
1
Pipelines
2
Changes
3
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
c6153460
1 commit,
1 year ago
3 files
+
13
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
perun-oidc-server/src/main/java/cz/muni/ics/oidc/server/claims/ClaimModifier.java
+
5
−
0
Options
package
cz.muni.ics.oidc.server.claims
;
import
lombok.Getter
;
import
lombok.extern.slf4j.Slf4j
;
/**
@@ -15,9 +16,13 @@ public abstract class ClaimModifier {
private
final
String
claimName
;
private
final
String
modifierName
;
@Getter
private
final
boolean
replaceOldValue
;
public
ClaimModifier
(
ClaimModifierInitContext
ctx
)
{
this
.
claimName
=
ctx
.
getClaimName
();
this
.
modifierName
=
ctx
.
getModifierName
();
this
.
replaceOldValue
=
ctx
.
isReplaceOldValue
();
log
.
debug
(
"{} - claim modifier initialized"
,
ctx
.
getClaimName
());
}
Loading