public class AuthFilterUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_AUTH_UNAUTHENTICATED_PATHS_PARAM |
| Constructor and Description |
|---|
AuthFilterUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addUnauthPaths(Set<String> unAuthenticatedPaths,
String list,
String defaultList)
A method that parses a string (delimiters = ;,) and adds them to the
provided un-authenticated path set.
|
static boolean |
doesRequestContainUnauthPath(Set<String> unAuthenticatedPaths,
javax.servlet.ServletRequest request)
A helper method that checks whether request contains
unauthenticated path
|
static void |
parseStringThenAdd(Set<String> unAuthenticatedPaths,
String list)
A helper method that parses a string and adds to the
provided unauthenticated set.
|
public static final String DEFAULT_AUTH_UNAUTHENTICATED_PATHS_PARAM
public static boolean doesRequestContainUnauthPath(Set<String> unAuthenticatedPaths, javax.servlet.ServletRequest request)
request - public static void parseStringThenAdd(Set<String> unAuthenticatedPaths, String list)
unAuthenticatedPaths - list - Copyright © 2022 The Apache Software Foundation. All rights reserved.