Package pl.edu.icm.unity.engine.api.files
package pl.edu.icm.unity.engine.api.files
-
ClassDescriptionProvides access to local or remote file.Guards server-side fetches of remote-source-declared URIs (e.g. an OAuth federation member's or a SAML entity's self-declared
logo_uri) against SSRF: resolves the URI's host and rejects it if any resolved address is a loopback, link-local, private, multicast, or otherwise non-public destination.Thrown specifically when a destination was resolved and rejected as internal/non-public - as opposed to otherIOExceptions this method throws (unsupported scheme, unresolvable host), which are not themselves indicative of an SSRF attempt.Thrown when a low level problem with read uri occurs.A helper class for parsing uri from string and validating it against used schemes