Tabnine Logo
ParameterTagMapping.getUserNameTag
Code IndexAdd Tabnine to your IDE (free)

How to use
getUserNameTag
method
in
org.firebirdsql.gds.ParameterTagMapping

Best Java code snippets using org.firebirdsql.gds.ParameterTagMapping.getUserNameTag (Showing top 4 results out of 315)

origin: org.firebirdsql.jdbc/jaybird-jdk18

@Override
protected void populateAuthenticationProperties(final AbstractConnection connection,
    final ConnectionParameterBuffer pb) throws SQLException {
  if (!(connection instanceof WireConnection)) {
    throw new IllegalArgumentException(
        "populateAuthenticationProperties should have been called with a WireConnection instance, was "
            + connection.getClass().getName());
  }
  ClientAuthBlock clientAuthBlock = ((WireConnection) connection).getClientAuthBlock();
  if (clientAuthBlock == null || clientAuthBlock.isAuthComplete()) {
    return;
  }
  IAttachProperties props = connection.getAttachProperties();
  ParameterTagMapping tagMapping = pb.getTagMapping();
  if (props.getUser() != null) {
    pb.addArgument(tagMapping.getUserNameTag(), props.getUser());
  }
  clientAuthBlock.authFillParametersBlock(pb);
}
origin: org.firebirdsql.jdbc/jaybird-jdk17

@Override
protected void populateAuthenticationProperties(final AbstractConnection connection,
    final ConnectionParameterBuffer pb) throws SQLException {
  if (!(connection instanceof WireConnection)) {
    throw new IllegalArgumentException(
        "populateAuthenticationProperties should have been called with a WireConnection instance, was "
            + connection.getClass().getName());
  }
  ClientAuthBlock clientAuthBlock = ((WireConnection) connection).getClientAuthBlock();
  if (clientAuthBlock == null || clientAuthBlock.isAuthComplete()) {
    return;
  }
  IAttachProperties props = connection.getAttachProperties();
  ParameterTagMapping tagMapping = pb.getTagMapping();
  if (props.getUser() != null) {
    pb.addArgument(tagMapping.getUserNameTag(), props.getUser());
  }
  clientAuthBlock.authFillParametersBlock(pb);
}
origin: org.firebirdsql.jdbc/jaybird-jdk18

@Override
protected void populateAuthenticationProperties(final AbstractConnection connection,
    final ConnectionParameterBuffer pb) throws SQLException {
  IAttachProperties props = connection.getAttachProperties();
  ParameterTagMapping tagMapping = pb.getTagMapping();
  if (props.getUser() != null) {
    pb.addArgument(tagMapping.getUserNameTag(), props.getUser());
  }
  if (props.getPassword() != null) {
    pb.addArgument(tagMapping.getEncryptedPasswordTag(), UnixCrypt.crypt(props.getPassword(),
        LEGACY_PASSWORD_SALT).substring(2, 13));
  }
}
origin: org.firebirdsql.jdbc/jaybird-jdk17

@Override
protected void populateAuthenticationProperties(final AbstractConnection connection,
    final ConnectionParameterBuffer pb) throws SQLException {
  IAttachProperties props = connection.getAttachProperties();
  ParameterTagMapping tagMapping = pb.getTagMapping();
  if (props.getUser() != null) {
    pb.addArgument(tagMapping.getUserNameTag(), props.getUser());
  }
  if (props.getPassword() != null) {
    pb.addArgument(tagMapping.getEncryptedPasswordTag(), UnixCrypt.crypt(props.getPassword(),
        LEGACY_PASSWORD_SALT).substring(2, 13));
  }
}
org.firebirdsql.gdsParameterTagMappinggetUserNameTag

Popular methods of ParameterTagMapping

  • getAuthPluginListTag
  • getAuthPluginNameTag
  • getEncryptedPasswordTag
  • getPasswordTag
  • getSpecificAuthDataTag
  • getTrustedAuthTag

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Permission (java.security)
    Legacy security code; do not use.
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top Sublime Text plugins
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