Skip to content

Instantly share code, notes, and snippets.

View noiter's full-sized avatar

Ming noiter

  • ThoughtWorks
  • Chengdu, Sichuan, China
View GitHub Profile
@noiter
noiter / LoginStatsRecordingRequiredActionProvider.java
Created September 14, 2020 04:44 — forked from thomasdarimont/LoginStatsRecordingRequiredActionProvider.java
Keycloak RequiredAction for recording user information on login
package de.tdlabs.idm.keycloak.ext.authentication;
import static java.time.LocalDateTime.now;
import static java.util.Arrays.asList;
import java.util.List;
import org.jboss.logging.Logger;
import org.keycloak.Config.Scope;
import org.keycloak.authentication.RequiredActionContext;
@noiter
noiter / LoginStatsRecordingRequiredActionProvider.java
Created September 14, 2020 04:44 — forked from thomasdarimont/LoginStatsRecordingRequiredActionProvider.java
Keycloak RequiredAction for recording user information on login
package de.tdlabs.idm.keycloak.ext.authentication;
import static java.time.LocalDateTime.now;
import static java.util.Arrays.asList;
import java.util.List;
import org.jboss.logging.Logger;
import org.keycloak.Config.Scope;
import org.keycloak.authentication.RequiredActionContext;