me@alessiofiore.com

MadBit

  • Home
  • Programming
  • Spring
    • Spring Boot
    • Spring Cloud
  • Networking
  • Tips and tricks
  • About me
  • Resources

Tag: resttemplate

Spring logo

Basic Authentication with Spring RestTemplate

Posted by alef | Apr 08, 2019

This article shows how to use Springs RestTemplate to consume a RESTful Service secured with Basic Authentication. Since Spring 5.1.1 BasicAuthenticationInterceptor has been introduced for Basic Authentication. Code above will automatically add Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ= header.

Read More →
Spring Basic authentication, resttemplate, Spring

Categories

  • Programming
  • J2EE
  • Java
  • Spring
  • Unix
  • Data Access
  • Networking
  • Application Server
  • Web services

Tag cloud

@PersistenceContext Android axis axis2 cache config server cxf database datasource Eclipse ejb Filter filters j2ee java JMX jsp jstl junit lambda log4j maven MBean oracle OTA message persistence php programming referenced library regular expression script servlet shell SimpleDateFormat SOAP Spring spring boot spring cloud stream tar tips and tricks unit test unix WebLogic web services

Please donate

This site contains free tutorial, donate to support

Categories

  • Programming
  • J2EE
  • Java
  • Spring
  • Unix
  • Data Access
  • Networking
  • Application Server
  • Web services

Tags

@PersistenceContext Android axis axis2 cache config server cxf database datasource Eclipse ejb Filter filters j2ee java JMX jsp jstl junit lambda log4j maven MBean oracle OTA message persistence php programming referenced library regular expression script servlet shell SimpleDateFormat SOAP Spring spring boot spring cloud stream tar tips and tricks unit test unix WebLogic web services

Recent Posts

  • Java 8 functional interfaces to handle callback
  • HTTPS server with Express and Node.js
  • Sum values in Map of Maps with flatMap
  • GroupingBy and sum with java lambda
  • Getting Started with Mockito @Mock and @InjectMocks

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
© 2021 MadBit.org. All rights reserved
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy

Necessary Always Enabled