Expand my Community achievements bar.

SOLVED

Significance of numbers in dispatcher config

Avatar

Level 4

We see dispatcher config entries like

# Deny everything first and then allow specific entries /0001 { /type "deny" /glob "*" } # Open consoles /0011 { /type "allow" /url "/admin/*"  }  # allow servlet engine admin /0012 { /type "allow" /url "/crx/*"    }  # allow content repository /0013 { /type "allow" /url "/system/*" }  # allow OSGi console

What is the significance of numbers e.g. "/0001" before each config entry, what is the use? Do these need to be unique and in specific order? 

Thanks
Sandeep

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi Sandeep, 

  It has to be unique and order does not matters. The usage is when debug enabled it will tell for what unique identity it was matched/failure/success.  At the moment only works to log for few identifiers like forms, etc..   Sounds adobe might implement later to use for filters which makes debug easier when you encounter issue.

Thanks,   

View solution in original post

2 Replies

Avatar

Level 5

As far i know, there are just the number to identify each row as unique. Yes these entries should be unique but not necessary in any specific order.

Avatar

Correct answer by
Level 9

Hi Sandeep, 

  It has to be unique and order does not matters. The usage is when debug enabled it will tell for what unique identity it was matched/failure/success.  At the moment only works to log for few identifiers like forms, etc..   Sounds adobe might implement later to use for filters which makes debug easier when you encounter issue.

Thanks,