|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.yale.its.tp.cas.util.SecureURL
A class housing some utility functions exposing secure URL validation and content retrieval. The rules are intended to be about as restrictive as a common browser with respect to server-certificate validation.
Constructor Summary | |
SecureURL()
|
Method Summary | |
static void |
main(java.lang.String[] args)
For testing only... |
static java.lang.String |
retrieve(java.lang.String url)
Retrieve the contents from the given URL as a String, assuming the URL's server matches what we expect it to match. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SecureURL()
Method Detail |
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public static java.lang.String retrieve(java.lang.String url) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |