Skip authentication for version and healthcheck endpoints
Change-Id: I0d03464e275ed5724361a82425f5b7fd2a0a931e Story: 2003799 Task: 26554
This commit is contained in:
parent
01740e584b
commit
a1ccce728a
@ -39,7 +39,7 @@ class SkippingAuthProtocol(auth_token.AuthProtocol):
|
|||||||
def process_request(self, request):
|
def process_request(self, request):
|
||||||
path = request.path
|
path = request.path
|
||||||
for p in _SKIP_PATH:
|
for p in _SKIP_PATH:
|
||||||
if path.startswith(p):
|
if path.endswith(p):
|
||||||
LOG.debug(
|
LOG.debug(
|
||||||
('Request path is %s and it does not require keystone '
|
('Request path is %s and it does not require keystone '
|
||||||
'communication'), path)
|
'communication'), path)
|
||||||
|
Loading…
Reference in New Issue
Block a user