我的名片

网名:轻舞肥羊

职业:Java Python 架构 PM

现居:武汉

企鹅号:43131588

  • Spring JMS Validate Messages using JSR-303 Bean Validation

    Spring JMS Validate Messages using JSR-303 Bean Validation

    In this tutorial we demonstrate how to validate JMS messages using JSR-303 Bean Validation Annotations. We also show how to create a custom external Validator to validate input parameters of the JMS payload.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring JMS Error Handling Configuration Example

    Spring JMS Error Handling Configuration Example

    This tutorial demonstrates error handling using Spring JMS. We create a custom JMS error handler which is capable of handling all errors thrown during transportation, conversion and validation errors.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Setting and Reading Spring JMS Message Header Properties Example

    Setting and Reading Spring JMS Message Header Properties Example

    In this tutorial we demonstrate how to read and write Spring JMS Message Header properties. We show various ways which you can access header information. We can use the @Header annotation to obtain a single header attribute. The @Headers annotations can inject all headers inside a Map<String, Object>. We can also access header information using MessageHeaders and JmsMessageHeaderAccessor classes.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring Boot Customize Actuator Info Endpoint Example Configuration

    Spring Boot Customize Actuator Info Endpoint Example Configuration

    In this tutorial, we demonstrate how to customize the spring boot actuator /info endpoint.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring Cloud Eureka Service Discovery Client Server Example

    Spring Cloud Eureka Service Discovery Client Server Example

    In this tutorial we demonstrate how to create and configure a service discovery client server environment using Netflix Eureka. First, we use spring-cloud to create and configure a Service Discovery Registry Server. This server will listen to new nodes spinning up in our environment. Secondly, we create some Service Discovery Clients that will launch on multiple ports. The service discovery registry will automatically register these clients.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring Boot Thymeleaf Configuration Example

    Spring Boot Thymeleaf Configuration Example

    This tutorial demonstrates how to configure Spring Boot and Thymeleaf. We are creating a simple Spring Boot Thymeleaf Example. In this example we configure Spring Boot using application.yml file and place the Thymeleaf templates in the src/main/resources/templates folder. We also utilise org.webjars to load static resources like bootstrap and jquery.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring Boot + Spring Mobile Serve Content Based on Device

    Spring Boot + Spring Mobile Serve Content Based on Device

    This tutorial shows how to use Spring Boot and Spring Mobile to serve content based on device type. We distinguish mobile, tablet and normal devices.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring Boot Configure Tomcat SSL over HTTPS

    Spring Boot Configure Tomcat SSL over HTTPS

    This tutorial demonstrates how to use spring boot to configure embedded tomcat SSL over HTTPS. You can optionally configure multiple Tomcat Connectors to support both HTTP and HTTPS at the same time. Or we also show how to redirect HTTP traffic to HTTPS automatically. These last two optional configuration cannot be used simultaneously.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring Boot + Spring Security + Thymeleaf Form Login Example

    Spring Boot + Spring Security + Thymeleaf Form Login Example

    This tutorial demonstrates how to configure spring-boot, spring-security and thymeleaf with form-login. We secure our web application using spring security form-login. We create a reusable Thymeleaf layout which we can use to create our secured and unsecured pages. When a user accesses a protected resource with insufficient rights we redirect the user to an access-denied page. Finally we create a login page where the user is able to login to the application. And we create a logout link.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Adding Static Resources (css, JavaScript, Images) to Thymeleaf

    Adding Static Resources (css, JavaScript, Images) to Thymeleaf

    This tutorial demonstrates how to include static resources to Thymeleaf. We use Spring Boot to start our application. We are loading static resources from the class-path and from org.webjars. The static resources are located in the src/main/resources/static folder.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring Security Basic Authentication Configuration Example

    Spring Security Basic Authentication Configuration Example

    The following tutorial is about Spring Security Basic Authentication Configuration. We demonstrate this by configuring Spring Security using both Java and XML Configuration. We create a custom authentication entry point which we can use and customize to give the user a custom login error message. We finish with showing how to write some integration tests using Spring MockMvc and JUnit.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring Security Method Level Annotations Example

    Spring Security Method Level Annotations Example

    This tutorial demonstrates how to use Spring Security Method Level Annotations. We can use Spring Security to secure our service layer. We can restrict which roles are able to execute a method by annotating the method with any of spring security annotations or the standard java JSR-250 annotaitons.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring Boot + Spring Security + Hibernate Configuration Example

    Spring Boot + Spring Security + Hibernate Configuration Example

    This tutorial demonstrates how to configure Spring Security Hibernate and Spring Boot. We secure a simple stateless web service using basic authentication. We configure Spring Security using Spring Java and/or XML Configuration. Finally, we write some JUnit Integration Tests with spring-test, h2 in-memory database and MockMvc.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring Security User Registration with Hibernate and Thymeleaf

    Spring Security User Registration with Hibernate and Thymeleaf

    In this example we show how to create a user registration form with Spring Security, Hibernate and Thymeleaf. We validate the user registration fields with hibernate validator annotations and a custom field matching validator to validate if the email and/or password fields match.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Spring Security Forgot Password Send Email Reset Password

    Spring Security Forgot Password Send Email Reset Password

    In this tutorial we demonstrate how to use Spring Security, Spring Boot, Hibernate and Thymeleaf to program a password reset flow by sending the user an email address to verify the reset password procedure. When a user has forgot his password, he is able to request a password reset. The application will generate a unique PasswordResetToken and store it in the database. The user’ll receive an email with the unique token. When he clicks the link, the user is redirected to a page where he can change his password.

    轻舞肥羊2019-08-10[Java]

    阅读更多
共有 1546 条记录 首页 << 979899100101102103末页

 


  • 微信公众号

  • 我的微信

站点声明:

1、一号门博客CMS,由Python, MySQL, Nginx, Wsgi 强力驱动

2、部分文章或者资源来源于互联网, 有时候很难判断是否侵权, 若有侵权, 请联系邮箱:summer@yihaomen.com, 同时欢迎大家注册用户,主动发布无版权争议的 文章/资源.

3、鄂ICP备14001754号-3, 鄂公网安备 42280202422812号