mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
getting SkippedEndpoint path from URL
This commit is contained in:
parent
3472090d1b
commit
45a543d3ed
@ -123,7 +123,7 @@ public class WebappAuthenticationValve extends CarbonTomcatValve {
|
||||
StringTokenizer tokenizer = new StringTokenizer(param, ",");
|
||||
nonSecuredEndpoints.put(contextPath, "true");
|
||||
while (tokenizer.hasMoreTokens()) {
|
||||
skippedEndPoint = contextPath + tokenizer.nextToken();
|
||||
skippedEndPoint = tokenizer.nextToken();
|
||||
skippedEndPoint = skippedEndPoint.replace("\n", "").replace("\r", "").trim();
|
||||
if(!skippedEndPoint.endsWith("/")) {
|
||||
skippedEndPoint = skippedEndPoint + "/";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user