Class AuthenticatedClientSessionPredicate
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.stream.AuthenticatedClientSessionPredicate
-
- All Implemented Interfaces:
Predicate<Map.Entry<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>>>
@SerializeWith(ExternalizerImpl.class) public class AuthenticatedClientSessionPredicate extends Object implements Predicate<Map.Entry<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>>>
- Author:
- Marek Posolda
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthenticatedClientSessionPredicate.ExternalizerImpl
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticatedClientSessionPredicate
create(String realm)
Creates a client session predicate.AuthenticatedClientSessionPredicate
expired(Integer expired)
boolean
test(Map.Entry<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>> entry)
-
-
-
Method Detail
-
create
public static AuthenticatedClientSessionPredicate create(String realm)
Creates a client session predicate.- Parameters:
realm
-- Returns:
-
expired
public AuthenticatedClientSessionPredicate expired(Integer expired)
-
test
public boolean test(Map.Entry<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>> entry)
- Specified by:
test
in interfacePredicate<Map.Entry<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>>>
-
-