Expand my Community achievements bar.

Get ready! An upgraded Experience League Community experience is coming in January.
SOLVED

How to allow selector based requests for authorization checker protected resource

Avatar

Level 4

Hi Team,

 

I have a requirement, wherein I have to redirect url like /secure/test-0001.html to /content/en/secure/testingdata.0001.html.

 

But I can see that dispatcher is rejecting access /content/en/secure/testingdata.0001.html with error

Filter rejects: GET /content/en/secure/testingdata.0001.html HTTP/1.1
Denying access to authorization checker protected resource

 

=====

The authchecker configuration looks like below

 

/auth_checker {
# request is sent to this URL with '?uri=<page>' appended
/url "/bin/<project>/wcm/permissioncheck"
 
/filter {
/0000 {
/glob "*"
/type "deny"
}
/0001 {
/glob "/content/en/secure*"
/type "allow"
}
}
}
 
Any pointers appreciated

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @manisha594391 

 

Can you just try using this rule ?

 

/0001 { /glob "/content/en/secure/*.html" /type "allow" }

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @manisha594391 

 

Can you just try using this rule ?

 

/0001 { /glob "/content/en/secure/*.html" /type "allow" }