SpringBoot integrates Kafka (including using username and password)

SpringCloud integrates Kafka (including using username and password) Recently, my brother’s project needs to be connected to other data sources, which are transmitted through kafka, so record some recent integration records. This note only records basic usage, no in-depth research notes First pom introduces kafka No more nonsense and go directly to the code // […]

The latest case of SpringSecurity5.7+ — username password + verification code + remember me······

Introduction According to the design and exploration of the recent period, SpringSecurity is summarized. At present, the security uses version 5.7 +. The biggest difference from the previous version is that the creation of SecurityConfig needs to inherit WebSecurityConfigurerAdapter. After 5.7, this method is not recommended. , I checked some tutorials on the Internet, but […]

[Error_SpringBoot] Duplicate entry ‘test’ for key ‘idx_username’ > ### The error may e violate the unique constraint Unique of the database

Problems Main issue Violated the unique constraint Unique of the database ### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry ‘test’ for key ‘idx_username’ ### The error may exist in com/sky/mapper/EmployeeMapper.java (best guess)### The error may involve com.sky.mapper.EmployeeMapper.insert-Inline ### The error occurred while setting parameters ### SQL: insert into employee ( name, username, password, phone, sex, […]

CRS-5017: The resource operation “ora.asm start” encountered the following error: ORA-01017: invalid username

Oracle RAC starts CRS error: login permission problem 2023-06-21 20:42:15.735: [ora.asm][1872455424]{0:0:116} [start] InstConnection::connectInt (2) Exception OCIException 2023-06-21 20:42:15.735: [ora.asm][1872455424]{0:0:116} [start] InstConnection:connect:excp OCIException OCI error 1017 2023-06-21 20:42:15.735: [ora.asm][1872455424]{0:0:116} [start] InstAgent::start: 1 errcode 1017 2023-06-21 20:42:15.735: [ora.asm][1872455424]{0:0:116} [start] InstAgent::start: untrapped error 2023-06-21 20:42:15.735: [ora.asm][1872455424]{0:0:116} [start] InstAgent::start: 2 errcode 1017 2023-06-21 20:42:15.735: [ USRTHRD][1872455424]{0:0:116} InstConnection:~InstConnection: this 54105bf0 […]

hive CUSTOM authentication mode: connect to hiveserver through username and password

Article directory 1. Official website description Two, realize 3. The second implementation 1. Official website description Authentication/Security Configuration HiveServer2 supports Anonymous (no authentication) with and without SASL, Kerberos (GSSAPI), pass through LDAP, Pluggable Custom Authentication and Pluggable Authentication Modules (PAM, supported Hive 0.13 onwards). Authentication mode: hive.server2.authentication – Authentication mode, default NONE. Options are NONE […]

Ajax to determine whether the username exists

Through the $.get() request, when the text box loses focus, it is to check whether the name exists First download and import the jQuery file <script type=”text/javascript” src=”js/jquery-3.6.4.min.js”></script> Explain directly in the code below jsp code Registration Page <script type=”text/javascript” src=”js/jquery-3.6.4.min.js”></script> Username: Password: Confirm Password: Phone: Shipping address: & amp;nbsp; & amp;nbsp; & amp;nbsp; & […]