forked from hapifhir/hapi-fhir-jpaserver-starter
-
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.
update authorization interceptor to be compatible with new security a… (
#8)
- Loading branch information
Showing
10 changed files
with
53 additions
and
180 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
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
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
33 changes: 0 additions & 33 deletions
33
src/main/java/earth/angelson/security/dto/RoleAttachmentsDTO.java
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package earth.angelson.security.dto; | ||
|
||
import java.util.UUID; | ||
|
||
public record RoleDTO(UUID id, String name) { | ||
} | ||
|
43 changes: 0 additions & 43 deletions
43
src/main/java/earth/angelson/security/dto/RoleWithRuleDTO.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package earth.angelson.security.dto; | ||
|
||
import java.util.Set; | ||
import java.util.UUID; | ||
|
||
public record UserDTO(UUID id, String practitionerId, String organizationId, String firstName, String lastName, String username, | ||
String password, boolean enabled, Set<RoleDTO> roles) { | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/earth/angelson/security/dto/UserRoleAttachmentsDTO.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package earth.angelson.security.dto; | ||
|
||
import java.util.Set; | ||
|
||
public record UserRoleAttachmentsDTO(UserDTO user, Set<Object> attachments) { | ||
} | ||
|
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