mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
change: Make credential extractors specialized.
This commit is contained in:
committed by
Joachim Van Herwegen
parent
0407a36490
commit
b0c50b8a7b
@@ -2,10 +2,10 @@ import type { HttpHandler,
|
||||
ResourceStore } from '../../index';
|
||||
import {
|
||||
AuthenticatedLdpHandler,
|
||||
EmptyCredentialsExtractor,
|
||||
FirstCompositeHandler,
|
||||
MethodPermissionsExtractor,
|
||||
RdfToQuadConverter,
|
||||
UnsecureWebIdExtractor,
|
||||
QuadToRdfConverter,
|
||||
} from '../../index';
|
||||
import type { ServerConfig } from './ServerConfig';
|
||||
@@ -39,7 +39,7 @@ export class BasicHandlersWithAclConfig implements ServerConfig {
|
||||
public getHttpHandler(): HttpHandler {
|
||||
const requestParser = getBasicRequestParser();
|
||||
|
||||
const credentialsExtractor = new UnsecureWebIdExtractor();
|
||||
const credentialsExtractor = new EmptyCredentialsExtractor();
|
||||
const permissionsExtractor = new FirstCompositeHandler([
|
||||
new MethodPermissionsExtractor(),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user