Package com.sdl.delivery.security.uri
Class SecureUriProcessingUtil
java.lang.Object
com.sdl.delivery.security.uri.SecureUriProcessingUtil
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SecureUriProcessingUtil
public SecureUriProcessingUtil()
-
-
Method Details
-
createUri
Creates a verified URI which fits a pattern in allowed list AND not in prohibited list, if both lists are provided. If there are not any provided lists (allowed and disallowed) it creates an URI as URI.create() method does.- Parameters:
possibleUrl- to check and create URI if it is allowed or throws an exception otherwise.- Returns:
- URI
-