org.keycloak.models.sessions.infinispan.stream

## Class UserLoginFailurePredicate

- java.lang.Object
- - org.keycloak.models.sessions.infinispan.stream.UserLoginFailurePredicate

- All Implemented Interfaces:
    Predicate<Map.Entry<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>>>

      @SerializeWith(value=UserLoginFailurePredicate.ExternalizerImpl.class)
      public class UserLoginFailurePredicate
      extends Object
      implements Predicate<Map.Entry<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>>>

  Author:
    Stian Thorgersen

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `UserLoginFailurePredicate.ExternalizerImpl`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static UserLoginFailurePredicate` | `create(String realm)`
    `boolean` | `test(Map.Entry<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>> entry)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.function.Predicate

      `and, isEqual, negate, or`

- - ### Method Detail

    - #### create

          public static UserLoginFailurePredicate create(String realm)

    - #### test

          public boolean test(Map.Entry<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>> entry)

      Specified by:
        `test` in interface `Predicate<Map.Entry<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>>>`

Copyright © 2020 JBoss by Red Hat. All rights reserved.