@Component public class UrlWhitelistChecker extends Object
Constructor and Description |
---|
UrlWhitelistChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAllowed(String url)
Checks if a URL matches a whitelisted URL entry in the configuration.
|
protected void |
setContextConfiguration(com.sdl.context.config.ContextConfiguration contextConfiguration) |
String |
toString() |
public boolean isAllowed(String url)
url
- the url to checkprotected void setContextConfiguration(com.sdl.context.config.ContextConfiguration contextConfiguration)
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries