org.jasig.portal.utils.uri
Interface IUriScrutinizer

All Known Implementing Classes:
PrefixUriScrutinizer

public interface IUriScrutinizer

UriScrutinizers examine URIs to see if they should be blocked for reasons of policy.

Since:
uPortal 2.5.1

Method Summary
 void scrutinize(java.net.URI uri)
          Scrutinize a URI to determine if access to it should be blocked for reasons of policy.
 

Method Detail

scrutinize

void scrutinize(java.net.URI uri)
                throws BlockedUriException
Scrutinize a URI to determine if access to it should be blocked for reasons of policy. Throws BlockedUriException if access to the URI should be blocked, conveying the reason for blockage. Blocking a URI is an exceptional and ideally rare circumstance which will usually abort whatever operation was being undertaken, and so this method throws on that exceptional circumstance.

Parameters:
uri - non-null URI for examination
Throws:
BlockedUriException - if access should be blocked