Package dev.dsf.fhir.authentication
Class AbstractIdentity
java.lang.Object
dev.dsf.fhir.authentication.AbstractIdentity
- Direct Known Subclasses:
OrganizationIdentityImpl,PractitionerIdentityImpl
-
Field Summary
Fields inherited from interface dev.dsf.common.auth.conf.Identity
ORGANIZATION_IDENTIFIER_SYSTEM -
Constructor Summary
ConstructorsConstructorDescriptionAbstractIdentity(boolean localIdentity, org.hl7.fhir.r4.model.Organization organization, Collection<? extends DsfRole> dsfRoles, X509Certificate certificate) -
Method Summary
Modifier and TypeMethodDescriptiongetIdentifierValue(Supplier<List<org.hl7.fhir.r4.model.Identifier>> identifiers, String identifierSystem) org.hl7.fhir.r4.model.OrganizationbooleanhasDsfRole(DsfRole dsfRole) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.dsf.common.auth.conf.Identity
getDisplayName
-
Constructor Details
-
AbstractIdentity
public AbstractIdentity(boolean localIdentity, org.hl7.fhir.r4.model.Organization organization, Collection<? extends DsfRole> dsfRoles, X509Certificate certificate) - Parameters:
localIdentity-trueif this is a local identityorganization- notnulldsfRoles- may benullcertificate- may benull
-
-
Method Details
-
isLocalIdentity
public boolean isLocalIdentity()- Specified by:
isLocalIdentityin interfaceIdentity
-
getOrganization
public org.hl7.fhir.r4.model.Organization getOrganization()- Specified by:
getOrganizationin interfaceIdentity
-
getOrganizationIdentifierValue
- Specified by:
getOrganizationIdentifierValuein interfaceIdentity
-
getIdentifierValue
-
getDsfRoles
- Specified by:
getDsfRolesin interfaceIdentity
-
hasDsfRole
- Specified by:
hasDsfRolein interfaceIdentity
-
getCertificate
- Specified by:
getCertificatein interfaceIdentity
-