-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e59f8e8
commit b663528
Showing
3 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
interop-qa-tests/src/main/java/it/pagopa/interop/authorization/domain/Role.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
package it.pagopa.interop.authorization.domain; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public enum Role { | ||
ADMIN("admin"), | ||
API("api"), | ||
SECURITY("security"), | ||
SUPPORT("support"), | ||
API_SECURITY("api,security"); | ||
|
||
Role(String admin) {} | ||
private String value; | ||
|
||
Role(String value) { | ||
this.value = value; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters