Package dev.dsf.common.auth.conf
Class RoleConfig
java.lang.Object
dev.dsf.common.auth.conf.RoleConfig
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDsfRolesForEmail(String email) getDsfRolesForThumbprint(String thumbprint) getDsfRolesForTokenGroup(String tokenGroup) getDsfRolesForTokenRole(String tokenRole) List<org.hl7.fhir.r4.model.Coding>List<org.hl7.fhir.r4.model.Coding>getPractitionerRolesForThumbprint(String thumbprint) List<org.hl7.fhir.r4.model.Coding>getPractitionerRolesForTokenGroup(String tokenGroup) List<org.hl7.fhir.r4.model.Coding>getPractitionerRolesForTokenRole(String tokenRole) toString()
-
Constructor Details
-
RoleConfig
public RoleConfig(Object config, Function<String, DsfRole> dsfRoleFactory, Function<String, org.hl7.fhir.r4.model.Coding> practitionerRoleFactory) - Parameters:
config- parsed yamldsfRoleFactory- factory should returnnullif the given string does not represent a valid role, the role needs to existspractitionerRoleFactory- factory should returnnullif the given string does not represent a valid code, the code or CodeSystem does not need to exist
-
-
Method Details