https://dosideas.com/wiki/index.php?title=Autenticaci%C3%B3n_HTTP_B%C3%A1sica_en_cliente_con_Axis2&feed=atom&action=history
Autenticación HTTP Básica en cliente con Axis2 - Historial de revisiones
2024-03-28T12:44:13Z
Historial de revisiones para esta página en el wiki
MediaWiki 1.28.2
https://dosideas.com/wiki/index.php?title=Autenticaci%C3%B3n_HTTP_B%C3%A1sica_en_cliente_con_Axis2&diff=3087&oldid=prev
201.251.185.130 en 12:07 28 ago 2009
2009-08-28T12:07:13Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='es'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Revisión anterior</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revisión del 12:07 28 ago 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Línea 1:</td>
<td colspan="2" class="diff-lineno">Línea 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>[[Categoría: Web Service]]</div></td><td class='diff-marker'> </td><td style="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;"><div>[[Categoría: Web Service]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">[[Categoría: Java]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>A veces nos encontramos con que el uso de servicios web está restringido. La forma más común y sencilla de implementar (y de romper!!!) es la autenticación HTTP Basic, consistente en el típico par usuario, password.</div></td><td class='diff-marker'> </td><td style="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;"><div>A veces nos encontramos con que el uso de servicios web está restringido. La forma más común y sencilla de implementar (y de romper!!!) es la autenticación HTTP Basic, consistente en el típico par usuario, password.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
</table>
201.251.185.130
https://dosideas.com/wiki/index.php?title=Autenticaci%C3%B3n_HTTP_B%C3%A1sica_en_cliente_con_Axis2&diff=3086&oldid=prev
201.251.185.130 en 12:06 28 ago 2009
2009-08-28T12:06:54Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='es'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Revisión anterior</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revisión del 12:06 28 ago 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Línea 1:</td>
<td colspan="2" class="diff-lineno">Línea 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">[[Categoría: Web Service]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>A veces nos encontramos con que el uso de servicios web está restringido. La forma más común y sencilla de implementar (y de romper!!!) es la autenticación HTTP Basic, consistente en el típico par usuario, password.</div></td><td class='diff-marker'> </td><td style="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;"><div>A veces nos encontramos con que el uso de servicios web está restringido. La forma más común y sencilla de implementar (y de romper!!!) es la autenticación HTTP Basic, consistente en el típico par usuario, password.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
</table>
201.251.185.130
https://dosideas.com/wiki/index.php?title=Autenticaci%C3%B3n_HTTP_B%C3%A1sica_en_cliente_con_Axis2&diff=1074&oldid=prev
201.251.185.130 en 15:51 23 sep 2008
2008-09-23T15:51:53Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='es'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Revisión anterior</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revisión del 15:51 23 sep 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l12" >Línea 12:</td>
<td colspan="2" class="diff-lineno">Línea 12:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>options.setProperty(HTTPConstants.AUTHENTICATE, auth);</div></td><td class='diff-marker'> </td><td style="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;"><div>options.setProperty(HTTPConstants.AUTHENTICATE, auth);</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>stub._getServiceClient().setOptions(options);</div></td><td class='diff-marker'> </td><td style="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;"><div>stub._getServiceClient().setOptions(options);</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><code></div></td><td class='diff-marker'>+</td><td style="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;"><div><<ins class="diffchange diffchange-inline">/</ins>code></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
</table>
201.251.185.130
https://dosideas.com/wiki/index.php?title=Autenticaci%C3%B3n_HTTP_B%C3%A1sica_en_cliente_con_Axis2&diff=1073&oldid=prev
201.251.185.130: Página nueva: A veces nos encontramos con que el uso de servicios web está restringido. La forma más común y sencilla de implementar (y de romper!!!) es la autenticación HTTP Basic, consistente...
2008-09-23T15:51:07Z
<p>Página nueva: A veces nos encontramos con que el uso de servicios web está restringido. La forma más común y sencilla de implementar (y de romper!!!) es la autenticación HTTP Basic, consistente...</p>
<p><b>Página nueva</b></p><div>A veces nos encontramos con que el uso de servicios web está restringido. La forma más común y sencilla de implementar (y de romper!!!) es la autenticación HTTP Basic, consistente en el típico par usuario, password.<br />
<br />
Usar la autenticación HTTP Basic en un cliente webservice con Axis2 es inmediato. Supongamos que ya hemos generado el stub mediante wsdl2java y tenemos la url del endpoint más el par usuario, password. El código para inicializar el cliente webservice sería el siguiente:<br />
<br />
<code java><br />
Options options = new Options();<br />
EndpointReference targetEPR = new EndpointReference(urlEndpoint);<br />
options.setTo(targetEPR);<br />
HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();<br />
auth.setUsername(usuario);<br />
auth.setPassword(password);<br />
options.setProperty(HTTPConstants.AUTHENTICATE, auth);<br />
stub._getServiceClient().setOptions(options);<br />
<code><br />
<br />
<br />
==Ver también==<br />
* [[Web Service]]<br />
* [[Clientes De Web Service]]<br />
* [[Web Service Con Spring]]<br />
* [http://ws.apache.org/axis2/ Apache Axis 2]</div>
201.251.185.130