Tabnine Logo
ClientConnection.getRemoteAddr
Code IndexAdd Tabnine to your IDE (free)

How to use
getRemoteAddr
method
in
org.keycloak.common.ClientConnection

Best Java code snippets using org.keycloak.common.ClientConnection.getRemoteAddr (Showing top 2 results out of 315)

origin: org.keycloak/keycloak-common

public boolean isRequired(ClientConnection connection) {
  return isRequired(connection.getRemoteAddr());
}
origin: org.keycloak/keycloak-events-api

public EventBuilder(RealmModel realm, KeycloakSession session, ClientConnection clientConnection) {
  this.realm = realm;
  event = new Event();
  if (realm.isEventsEnabled()) {
    EventStoreProvider store = session.getProvider(EventStoreProvider.class);
    if (store != null) {
      this.store = store;
    } else {
      log.error("Events enabled, but no event store provider configured");
    }
  }
  if (realm.getEventsListeners() != null && !realm.getEventsListeners().isEmpty()) {
    this.listeners = new LinkedList<>();
    for (String id : realm.getEventsListeners()) {
      EventListenerProvider listener = session.getProvider(EventListenerProvider.class, id);
      if (listener != null) {
        listeners.add(listener);
      } else {
        log.error("Event listener '" + id + "' registered, but provider not found");
      }
    }
  }
  realm(realm);
  ipAddress(clientConnection.getRemoteAddr());
}
org.keycloak.commonClientConnectiongetRemoteAddr

Popular methods of ClientConnection

    Popular in Java

    • Finding current android device location
    • orElseThrow (Optional)
      Return the contained value, if present, otherwise throw an exception to be created by the provided s
    • setScale (BigDecimal)
    • compareTo (BigDecimal)
    • OutputStream (java.io)
      A writable sink for bytes.Most clients will use output streams that write data to the file system (
    • RandomAccessFile (java.io)
      Allows reading from and writing to a file in a random-access manner. This is different from the uni-
    • ArrayList (java.util)
      ArrayList is an implementation of List, backed by an array. All optional operations including adding
    • UUID (java.util)
      UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
    • ImageIO (javax.imageio)
    • SAXParseException (org.xml.sax)
      Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
    • Best plugins for Eclipse
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

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