public static boolean isTrustedSource(InetAddress source) throws SessionException {
  if (trustedSources == null) {
    trustedSources=getTrustedSourceList();
  }
  return trustedSources.contains(source);
}

public static boolean isTrustedSource ( InetAddress source ) throws SessionException { if ( trustedSources == null ) { trustedSources = getTrustedSourceList ( ) ; } return trustedSources . contains ( source ) ; }
returns the remote ip address of the client is a trusted source
