<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de-CH">
		<id>https://wiki.christofbuechi.ch/index.php?action=history&amp;feed=atom&amp;title=Authentication_Methods</id>
		<title>Authentication Methods - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.christofbuechi.ch/index.php?action=history&amp;feed=atom&amp;title=Authentication_Methods"/>
		<link rel="alternate" type="text/html" href="https://wiki.christofbuechi.ch/index.php?title=Authentication_Methods&amp;action=history"/>
		<updated>2026-08-23T14:56:31Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://wiki.christofbuechi.ch/index.php?title=Authentication_Methods&amp;diff=54&amp;oldid=prev</id>
		<title>Christofbuechi am 18. August 2014 um 07:41 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.christofbuechi.ch/index.php?title=Authentication_Methods&amp;diff=54&amp;oldid=prev"/>
				<updated>2014-08-18T07:41:10Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='de-CH'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 18. August 2014, 07:41 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot; &gt;Zeile 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Output:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; {&amp;#160; &amp;quot;authenticated&amp;quot;: true,&amp;#160;  &amp;quot;user&amp;quot;: &amp;quot;user&amp;quot;}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Christofbuechi</name></author>	</entry>

	<entry>
		<id>https://wiki.christofbuechi.ch/index.php?title=Authentication_Methods&amp;diff=53&amp;oldid=prev</id>
		<title>Christofbuechi: Die Seite wurde neu angelegt: «== Digest Authentication with HttpsUrlConnection ==  package com.company;    import javax.net.ssl.HttpsURLConnection;  import java.io.BufferedReader;  import jav…»</title>
		<link rel="alternate" type="text/html" href="https://wiki.christofbuechi.ch/index.php?title=Authentication_Methods&amp;diff=53&amp;oldid=prev"/>
				<updated>2014-08-18T07:40:36Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: «== Digest Authentication with HttpsUrlConnection ==  package com.company;    import javax.net.ssl.HttpsURLConnection;  import java.io.BufferedReader;  import jav…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Digest Authentication with HttpsUrlConnection ==&lt;br /&gt;
 package com.company;&lt;br /&gt;
 &lt;br /&gt;
 import javax.net.ssl.HttpsURLConnection;&lt;br /&gt;
 import java.io.BufferedReader;&lt;br /&gt;
 import java.io.IOException;&lt;br /&gt;
 import java.io.InputStreamReader;&lt;br /&gt;
 import java.net.Authenticator;&lt;br /&gt;
 import java.net.CookieHandler;&lt;br /&gt;
 import java.net.CookieManager;&lt;br /&gt;
 import java.net.CookiePolicy;&lt;br /&gt;
 import java.net.PasswordAuthentication;&lt;br /&gt;
 import java.net.URL;&lt;br /&gt;
 &lt;br /&gt;
 public class Main {&lt;br /&gt;
 &lt;br /&gt;
    public static void main(String[] args) throws IOException {&lt;br /&gt;
        Authenticator.setDefault(new Authenticator() {&lt;br /&gt;
            protected PasswordAuthentication getPasswordAuthentication() {&lt;br /&gt;
                return new PasswordAuthentication(&amp;quot;user&amp;quot;, &amp;quot;passwd&amp;quot;.toCharArray());&lt;br /&gt;
            }&lt;br /&gt;
        });&lt;br /&gt;
        CookieHandler.setDefault(new CookieManager(null, CookiePolicy.ACCEPT_ALL));&lt;br /&gt;
        HttpsURLConnection con = (HttpsURLConnection) new URL(null, &amp;quot;http://httpbin.org/digest-auth/auth/user/passwd&amp;quot;, new   sun.net.www.protocol.https.Handler()).openConnection();&lt;br /&gt;
 &lt;br /&gt;
         BufferedReader in = null;&lt;br /&gt;
         StringBuffer sb = new StringBuffer();&lt;br /&gt;
        in = new BufferedReader(new InputStreamReader(con.getInputStream()));&lt;br /&gt;
        String line;&lt;br /&gt;
        while ((line = in.readLine()) != null) {&lt;br /&gt;
            sb.append(line);&lt;br /&gt;
        }&lt;br /&gt;
        System.out.println(sb.toString());&lt;br /&gt;
    }&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Christofbuechi</name></author>	</entry>

	</feed>