Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Eclipse Foundation Profile API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Foundation
IT
APIs
Eclipse Foundation Profile API
Merge requests
!61
feat: Add Authenticated annotation and response filter to anonymize profile data
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: Add Authenticated annotation and response filter to anonymize profile data
zacharysabourin/eclipsefdn-profile-api:zacharysabourin/main/77
into
main
Overview
0
Commits
1
Pipelines
0
Changes
6
Merged
Zachary Sabourin
requested to merge
zacharysabourin/eclipsefdn-profile-api:zacharysabourin/main/77
into
main
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
6
Expand
Resolves
#77 (closed)
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
167fbbb8
1 commit,
1 year ago
6 files
+
127
−
61
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
src/main/java/org/eclipsefoundation/profile/annotations/Authenticated.java
0 → 100644
+
28
−
0
Options
/*********************************************************************
* Copyright (c) 2023 Eclipse Foundation.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* Author: Zachary Sabourin <zachary.sabourin@eclipse-foundation.org>
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package
org.eclipsefoundation.profile.annotations
;
import
static
java
.
lang
.
annotation
.
ElementType
.
METHOD
;
import
static
java
.
lang
.
annotation
.
RetentionPolicy
.
RUNTIME
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.Target
;
/**
* A Runtime annotation used to allow full blocking on some endpoints, while allowing a partial profile responses.
*/
@Retention
(
RUNTIME
)
@Target
(
METHOD
)
public
@interface
Authenticated
{
boolean
allowPartialResponse
()
default
false
;
}
Loading