Package dev.relism.flash.ext.security
Class PublicUrl
java.lang.Object
dev.relism.flash.ext.security.PublicUrl
The guard for a URL someone other than the operator chose — an identity provider an organization
registers, a client's metadata document: fetching it must not become a request forgery against the
server's own network.
-
Method Summary
-
Method Details
-
require
ponytail: resolved here and again by the HTTP client, so DNS rebinding between the two is not covered.- Throws:
IllegalArgumentException-urlis not https, or one of its host's addresses is not publicUnknownHostException
-