Class LastClientUserLoginGenerator
- java.lang.Object
-
- de.xima.fc.security.pac4j.authorization.generator.LastClientUserLoginGenerator
-
- All Implemented Interfaces:
org.pac4j.core.authorization.generator.AuthorizationGenerator
public class LastClientUserLoginGenerator extends Object implements org.pac4j.core.authorization.generator.AuthorizationGenerator
Login interceptor that stores the time of the last login in theMandant.getLastUserLogin()
property.- Since:
- 8.2.6
- Author:
- XIMA MEDIA GmbH, Dresden
-
-
Field Summary
Fields Modifier and Type Field Description static LastClientUserLoginGenerator
INSTANCE
Immutable instance of theLastClientUserLoginGenerator
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<org.pac4j.core.profile.UserProfile>
generate(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.profile.UserProfile profile)
-
-
-
Field Detail
-
INSTANCE
public static final LastClientUserLoginGenerator INSTANCE
Immutable instance of theLastClientUserLoginGenerator
.
-
-
Method Detail
-
generate
public Optional<org.pac4j.core.profile.UserProfile> generate(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.profile.UserProfile profile)
- Specified by:
generate
in interfaceorg.pac4j.core.authorization.generator.AuthorizationGenerator
-
-