-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ignore casing in application properties
- Loading branch information
Showing
2 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...pring-boot-starter-auth/src/main/java/uk/gov/laa/ccms/springboot/auth/AuthorizedRole.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,9 +1,12 @@ | ||
package uk.gov.laa.ccms.springboot.auth; | ||
|
||
import com.fasterxml.jackson.annotation.JsonFormat; | ||
|
||
/** | ||
* Holds a list of uris available for a given role. | ||
* | ||
* @param name the name of the role | ||
* @param uris the uris that are accessible to clients that have this role | ||
*/ | ||
@JsonFormat(with = JsonFormat.Feature.ACCEPT_CASE_INSENSITIVE_PROPERTIES) | ||
public record AuthorizedRole(String name, String[] uris) {} |
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