congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
UserSessionPredicate.brokerUserId
Code IndexAdd Tabnine to your IDE (free)

How to use
brokerUserId
method
in
org.keycloak.models.sessions.infinispan.stream.UserSessionPredicate

Best Java code snippets using org.keycloak.models.sessions.infinispan.stream.UserSessionPredicate.brokerUserId (Showing top 4 results out of 315)

origin: org.keycloak/keycloak-model-infinispan

@Override
public List<UserSessionModel> getUserSessionByBrokerUserId(RealmModel realm, String brokerUserId) {
  return getUserSessions(realm, UserSessionPredicate.create(realm.getId()).brokerUserId(brokerUserId), false);
}
origin: org.keycloak/keycloak-model-sessions-infinispan

@Override
public List<UserSessionModel> getUserSessionByBrokerUserId(RealmModel realm, String brokerUserId) {
  return getUserSessions(realm, UserSessionPredicate.create(realm.getId()).brokerUserId(brokerUserId), false);
}
origin: org.keycloak/keycloak-model-infinispan

public UserSessionPredicate readObjectVersion1(ObjectInput input) throws IOException, ClassNotFoundException {
  UserSessionPredicate res = new UserSessionPredicate(MarshallUtil.unmarshallString(input));
  res.user(MarshallUtil.unmarshallString(input));
  res.client(MarshallUtil.unmarshallString(input));
  res.expired(KeycloakMarshallUtil.unmarshallInteger(input), KeycloakMarshallUtil.unmarshallInteger(input));
  res.brokerSessionId(MarshallUtil.unmarshallString(input));
  res.brokerUserId(MarshallUtil.unmarshallString(input));
  return res;
}
origin: org.keycloak/keycloak-model-infinispan

  public UserSessionPredicate readObjectVersion2(ObjectInput input) throws IOException, ClassNotFoundException {
    UserSessionPredicate res = new UserSessionPredicate(MarshallUtil.unmarshallString(input));
    res.user(MarshallUtil.unmarshallString(input));
    res.client(MarshallUtil.unmarshallString(input));
    res.expired(KeycloakMarshallUtil.unmarshallInteger(input), KeycloakMarshallUtil.unmarshallInteger(input),
        KeycloakMarshallUtil.unmarshallInteger(input), KeycloakMarshallUtil.unmarshallInteger(input));
    res.brokerSessionId(MarshallUtil.unmarshallString(input));
    res.brokerUserId(MarshallUtil.unmarshallString(input));
    return res;
  }
}
org.keycloak.models.sessions.infinispan.streamUserSessionPredicatebrokerUserId

Popular methods of UserSessionPredicate

  • <init>
  • brokerSessionId
  • create
    Creates a user session predicate. If using the #client(java.lang.String) method, see its warning.
  • expired
  • user
  • client
    Adds a test for client. Note that this test can return stale sessions because on detaching client se

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • JFrame (javax.swing)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now