<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MWC Labs &#187; java</title>
	<atom:link href="https://www.conceicao.eti.br/blog/tag/java-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.conceicao.eti.br/blog</link>
	<description>TI, BSD, Linux, Network &#38; Security !</description>
	<lastBuildDate>Fri, 23 May 2014 22:37:30 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>AplicaÃ§Ã£o Java acessando a web atravÃ©s de proxy autenticado</title>
		<link>https://www.conceicao.eti.br/blog/2014/02/06/aplicacao-java-acessando-a-web-atraves-de-proxy-autenticado/</link>
		<comments>https://www.conceicao.eti.br/blog/2014/02/06/aplicacao-java-acessando-a-web-atraves-de-proxy-autenticado/#comments</comments>
		<pubDate>Thu, 06 Feb 2014 12:42:39 +0000</pubDate>
		<dc:creator><![CDATA[Matheus]]></dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Proxy]]></category>

		<guid isPermaLink="false">http://www.conceicao.eti.br/blog/?p=130</guid>
		<description><![CDATA[Dica rÃ¡pida. Adicionar o trecho abaixo no inÃ­cio da aplicaÃ§Ã£o definindo o usuÃ¡rio e senha de autenticaÃ§Ã£o do proxy: Authenticator.setDefault(new Authenticator() { protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication("domain\\user","password".toCharArray()); } }); ReferÃªncia: http://stackoverflow.com/questions/120797/how-do-i-set-the-proxy-to-be-used-by-the-jvm/12295125#12295125]]></description>
				<content:encoded><![CDATA[<p>Dica rÃ¡pida.</p>
<p>Adicionar o trecho abaixo no inÃ­cio da aplicaÃ§Ã£o definindo o usuÃ¡rio e senha de autenticaÃ§Ã£o do proxy:</p>
<pre class="brush:java">
Authenticator.setDefault(new Authenticator() {
    protected PasswordAuthentication getPasswordAuthentication() {

        return new PasswordAuthentication("domain\\user","password".toCharArray());
    }
});
</pre>
<p><em>ReferÃªncia:</em><br />
<a href="http://stackoverflow.com/questions/120797/how-do-i-set-the-proxy-to-be-used-by-the-jvm/12295125#12295125" target="_blank"><em>http://stackoverflow.com/questions/120797/how-do-i-set-the-proxy-to-be-used-by-the-jvm/12295125#12295125</em></a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.conceicao.eti.br/blog/2014/02/06/aplicacao-java-acessando-a-web-atraves-de-proxy-autenticado/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
