AuthApplication.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /**
  2. * BladeX Commercial License Agreement
  3. * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
  4. * <p>
  5. * Use of this software is governed by the Commercial License Agreement
  6. * obtained after purchasing a license from BladeX.
  7. * <p>
  8. * 1. This software is for development use only under a valid license
  9. * from BladeX.
  10. * <p>
  11. * 2. Redistribution of this software's source code to any third party
  12. * without a commercial license is strictly prohibited.
  13. * <p>
  14. * 3. Licensees may copyright their own code but cannot use segments
  15. * from this software for such purposes. Copyright of this software
  16. * remains with BladeX.
  17. * <p>
  18. * Using this software signifies agreement to this License, and the software
  19. * must not be used for illegal purposes.
  20. * <p>
  21. * THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
  22. * not liable for any claims arising from secondary or illegal development.
  23. * <p>
  24. * Author: Chill Zhuang (bladejava@qq.com)
  25. */
  26. package org.springblade.auth;
  27. import org.springblade.core.cloud.client.BladeCloudApplication;
  28. import org.springblade.core.launch.BladeApplication;
  29. import org.springblade.core.launch.constant.AppConstant;
  30. import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
  31. /**
  32. * 用户认证服务器
  33. *
  34. * @author Chill
  35. */
  36. @EnableRedisHttpSession
  37. @BladeCloudApplication
  38. public class AuthApplication {
  39. public static void main(String[] args) {
  40. BladeApplication.run(AppConstant.APPLICATION_AUTH_NAME, AuthApplication.class, args);
  41. }
  42. }