use of ca.uhn.fhir.rest.server.interceptor.auth.RuleBuilder in project gpconnect-demonstrator by nhsconnect.
the class FhirRequestAuthInterceptor method buildRuleList.
@Override
public List<IAuthRule> buildRuleList(RequestDetails requestDetails) {
WebToken webToken = webTokenFactory.getWebToken(requestDetails, futureRequestLeeway);
validateClaim(webToken, requestDetails);
validateIdentifier(webToken, requestDetails);
return new RuleBuilder().allowAll().build();
}
Aggregations