Open in app

Sign In

Write

Sign In

Himanshu Pratap
Himanshu Pratap

42 Followers

Home

About

Apr 27, 2022

Enable gnome classic on RHEL8

Update the system to RHEL8.5 or higher. Ensure that the system has gdm-40.0–11.el8(or higher), accountsservice-0.6.55–2.el8(or higher) #rpm -qa gdm #rpm -qa accountsservice 3. copy the /usr/share/accountsservice/user-templates/standard file to /etc/accountsservice/user-templates/standard # cp /usr/share/accountsservice/user-templates/standard /etc/accountsservice/user-templates/standard 4. Change the value of Session=gnome with Session=gnome-classic in the /etc/accountsservice/user-templates/standard file

Rhel 8

1 min read

Enable gnome classic on RHEL8
Enable gnome classic on RHEL8
Rhel 8

1 min read


Apr 13, 2022

Install Postgresql 13 on RHEL 8. Configure scram-sha-256 password authentication.

Install postgresql 13 # dnf module list | grep postgres # dnf module install postgresql:13 2. Initialize database # which postgresql-setup # postgresql-setup --initdb 3. Change password for os user postgres auto created after installing postgresql # passwd postgres 4. Enable and start postgresql service # systemctl enable postgresql # systemctl…

Postgresql

1 min read

Postgresql

1 min read


Mar 4, 2022

git — beginners guide

Git was originally authored by Linus Torvalds for development of the Linux kernel, with other kernel developers contributing to its initial development. It is an opensource software for tracking changes in any set of files, usually used for collaboratively developing source code during software development. Some useful git command Check…

Git

1 min read

Git

1 min read


Feb 26, 2022

Prevent serial column in postgresql from generating duplicate value.

When you use liquibase’s instruction autoIncrement =”true”, for generation of primary key id, it generates serial column for PostgreSQL. For serial column PostgreSQL will create a sequence with a name like tablename_colname_seq. Default column values will be assigned from this sequence. But when you explicitly insert a value into serial column, it doesn’t affect sequence generator, and its next value will not change. So it can generate a duplicate value.

Postgresql

1 min read

Postgresql

1 min read


Jan 23, 2022

Configure Amazon linux workspace for web development

Amazon WorkSpaces are easily provision cloud-based desktops that allow end-users to access applications and resources. Amazon EC2 is Scalable, pay-as-you-go compute capacity in the cloud. Amazon EC2 can be classified as a tool in the “Cloud Hosting” category, while Amazon WorkSpaces is grouped under “Virtual Desktop”. Amazon workspace can be…

AWS

3 min read

AWS

3 min read


Published in Dev Genius

·Jan 14, 2022

Implementing React Router v6 with code splitting in a React Typescript project.

React Router is a standard library for routing in React. It enables the navigation among views of various components in a React Application, allows changing the browser URL, and keeps the UI in sync with the URL. React Router v5 vs v6 React Router version 6 introduces a few breaking changes…

React Router 6

4 min read

React Router 6

4 min read


Oct 6, 2021

Implement Windows AD Authentication, Local DB Authorization with JWT Response Token using Spring Security

In the previous article here, i have implemented custom authentication such that Check if the user exist in local database user table and if the user exist, then authenticate it to external windows AD server. Upon successful call to login API, a session was created on server and session id…

Spring Security

4 min read

Spring Security

4 min read


Sep 8, 2021

Access spring security protected APIs using curl

Steps to access spring security protected APIs very much depend upon the Web Security Configuration in your spring boot project. Below example i have tried to demonstrate two different Web Security Configuration and how to access it using curl. Suppose we are trying to access following end url http://localhost:8080/api/student Example…

Curl

3 min read

Curl

3 min read


Sep 6, 2021

Spring Security Custom Authentication Provider

I recently had the requirement for user authentication in a spring boot application as follows: Check if the user exist in local database user table -> if the user exist, then authenticate it to external windows AD server. In Spring Security, an Authentication request is processed by an AuthenticationProvider and…

Spring Security

2 min read

Spring Security

2 min read


Sep 3, 2021

Configure User Authentication through Windows Active Directory Server in a Spring Boot Application

In this article we will try to authenticate a user to an external windows active directory domain server before granting him access to APIs. Suppose you have a running windows AD server such domain name — example.examplegroup.co.in IP Address — 192.168.1.25 Steps: Add following dependencies to pom.xml file <dependency>…

Spring Security

2 min read

Configure User Authentication through Windows Active Directory Server in a Spring Boot Application
Configure User Authentication through Windows Active Directory Server in a Spring Boot Application
Spring Security

2 min read

Himanshu Pratap

Himanshu Pratap

42 Followers

System Administrator and Full stack web developer.

Following
  • Nicolas Fränkel

    Nicolas Fränkel

  • Oskar

    Oskar

  • Keerthana Thiagaraj

    Keerthana Thiagaraj

  • Mohamed Amine Haine

    Mohamed Amine Haine

  • Uzma Barlaskar

    Uzma Barlaskar

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech