public String formatKey ( URI uri ) throws URISyntaxException { if ( uri == null ) { throw new URISyntaxException ( "" , "URI specified is null" ) ; } return formatKey ( uri . getHost ( ) , uri . getPort ( ) ) ; }
Converts a well - formed URI containing a hostname and port into string which allows for lookups in the Security Domain table