February 26, 2020

#AshWednesday


Genesis 3:19

By the sweat of your face you shall eat bread, till you return to the ground, for out of it you were taken; for you are dust, and to dust you shall return!

February 20, 2020

BARC TV Ratings- Week 6, 2020

Top 10 Hindi GEC Channel
  1. Dangal : 1193892
  2. Colors : 721660
  3. STAR Plus : 644271
  4. Zee TV : 566200
  5. SONY SAB : 561953
  6. Sony Entertainment Television : 468788
  7. Big Magic : 383257
  8. STAR Bharat : 286152
  9. STAR Utsav : 185661
  10. Colors Rishtey : 163372

February 19, 2020

Ullu App launched the trailer of 'The Bull Of Dalal Street'

India’s one of the leading homegrown OTT platform Ullu App has charmed viewers with its diverse content. Their web-series Panchali, Singardaan, Halala and  #MeToo Wolf Of Bollywood have already worked their wonders on the hearts of the audiences. Talking forward the excitement Ullu App is coming up yet another interesting web-series titled 'The Bull Of Dalal Street'. The trailer of this much awaited series was recently launched in Mumbai, and the event was graced by Iqbal Khan, Ashmit Patel, Kunal Verma, Megha Gupta, Naina Chhabra, Vibhu Agarwal and the show's director Deepak Pandey.

'Mere Sai' actor Himanshu Rai always wanted to be an actor

Himanshu Rai, who is presently seen enacting the role of Keshav Kulkarni in 'Mere Sai - Shraddha Aur Saburi' confesses to have been bitten by the acting bug at a young age itself. The dashing actor was an active participant in all his school plays and says he is now living his childhood dream!

February 13, 2020

BARC TV Ratings- Week 5, 2020

Top 10 Hindi GEC Channel
  1. Dangal : 1211609
  2. Colors : 699344
  3. STAR Plus : 642273
  4. SONY SAB : 593991
  5. Zee TV : 569039
  6. Sony Entertainment Television : 452623
  7. Big Magic : 398556
  8. STAR Bharat : 277912
  9. Colors Rishtey : 183133
  10. STAR Utsav : 170115

February 06, 2020

BARC TV Ratings- Week 4, 2020

Top 10 Hindi GEC Channel
  1. Dangal : 1206187
  2. Colors : 755866
  3. STAR Plus : 646564
  4. Zee TV : 603630
  5. SONY SAB : 601584
  6. Sony Entertainment Television : 470465
  7. Big Magic : 393123
  8. STAR Bharat : 274568
  9. STAR Utsav : 179525
  10. &TV : 161459

February 03, 2020

Spring Security-Part 4.3: Form Based Authentication


Form Based Authentication
  • When we do basic authentication, we need to pass 'Authorization' in header (e.g, Authentication:Basic BASE_64_UserName:Password). Though the basic auth is simple and fast, it has one disadvantage that we can't logout.
  • We can user form based authentication, in which user will enter user name and password and can logout whenever required.


To switch from Basic to Form based authentication, we need to update ApplicationSecurityConfig. In the configure() method instead of httpBasic(), we need to use formLogin().

Spring Security-Part 4.2: @PreAuthorize, @PostAuthorize, @Secured, @RoleAllowed, @EnableGlobalMethodSecurity annotations


Annotation Based Roles and Authorities/Permissions

In our previous tutorial we had configured the roles and authorities in ApplicationSecurityConfig (which extends WebSecurityConfigurerAdapter). We can do the same thing by using @PreAuthorize annotation.

Spring Security-Part 4.1: Spring Security

Let's create a new project from Spring Initializr https://start.spring.io/.
  • Project: Maven Project
  • Language: Java
  • Spring Boot: 2.2.4
  • Group: com.example
  • Artifact: spring-security-demo
  • Java Version: 8
  • Dependencies: Spring Web
Generate the project and import it in either Eclipse/STS or IntelliJ.

Spring Security-Part 3 : Spring Security with JPA authentication and MySQL

Example of Spring Security with JPA authentication and MySQL
We will build a Spring boot project with Spring Security that will do database authentication using JPA and connect with MYSQL database.

Let's say we have a mysql database locally with database instance with name 'springsecurity'. This database has a table with a name 'user'. 'roles' has comma separated roles.

#SpringSecurity Part 2 : Securing Web-services with Spring (Basic, In-Memory and JDBC Authentication)

How can we implement basic authentication in Spring?
For this let us create a Spring Starter Project titled 'BasicAuthentication' from STS, this project has only Spring Web dependency.

#SpringSecurity Part 1 : Authentication v/s Authorization

What is the difference between Authentication and Authorization?
Authentication and Authorization are often used in conjunction with each other in terms of security, especially when it comes to gaining access to the system. Authentication means confirming your own identity, while authorization means granting access to the system. We can say, authentication is the process of verifying who you are, while authorization is the process of verifying what you have access to.
RSSChomp Blog Directory