Class Mappers
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.stream.Mappers
-
public class Mappers extends Object
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description Mappers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,Set<String>>
authClientSessionSetMapper()
static Function<Map.Entry<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>>,AuthenticatedClientSessionEntity>
clientSessionEntity()
static Function<Map.Entry<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>>,LoginFailureKey>
loginFailureId()
static Function<Map.Entry<String,SessionEntityWrapper>,SessionEntity>
sessionEntity()
static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,String>
sessionId()
static <T> Stream<T>
toStream(Collection<T> collection)
static Function<Map.Entry<String,SessionEntityWrapper>,Map.Entry<String,SessionEntity>>
unwrap()
static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,UserSessionEntity>
userSessionEntity()
-
-
-
Method Detail
-
unwrap
public static Function<Map.Entry<String,SessionEntityWrapper>,Map.Entry<String,SessionEntity>> unwrap()
-
sessionId
public static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,String> sessionId()
-
sessionEntity
public static Function<Map.Entry<String,SessionEntityWrapper>,SessionEntity> sessionEntity()
-
userSessionEntity
public static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,UserSessionEntity> userSessionEntity()
-
clientSessionEntity
public static Function<Map.Entry<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>>,AuthenticatedClientSessionEntity> clientSessionEntity()
-
loginFailureId
public static Function<Map.Entry<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>>,LoginFailureKey> loginFailureId()
-
toStream
public static <T> Stream<T> toStream(Collection<T> collection)
-
authClientSessionSetMapper
public static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,Set<String>> authClientSessionSetMapper()
-
-