Codota Logo
UsernamePasswordAuthenticationFilter.getUsernameParameter
Code IndexAdd Codota to your IDE (free)

How to use
getUsernameParameter
method
in
org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter

Best Java code snippets using org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.getUsernameParameter (Showing top 6 results out of 315)

  • Common ways to obtain UsernamePasswordAuthenticationFilter
private void myMethod () {
UsernamePasswordAuthenticationFilter u =
  • Codota Iconnew UsernamePasswordAuthenticationFilter()
  • Smart code suggestions by Codota
}
origin: spring-projects/spring-security

/**
 * Gets the HTTP parameter that is used to submit the username.
 *
 * @return the HTTP parameter that is used to submit the username
 */
private String getUsernameParameter() {
  return getAuthenticationFilter().getUsernameParameter();
}
origin: org.springframework.security/spring-security-config

/**
 * Gets the HTTP parameter that is used to submit the username.
 *
 * @return the HTTP parameter that is used to submit the username
 */
private String getUsernameParameter() {
  return getAuthenticationFilter().getUsernameParameter();
}
origin: org.springframework.security/spring-security-javaconfig

/**
 * Gets the HTTP parameter that is used to submit the username.
 *
 * @return the HTTP parameter that is used to submit the username
 */
private String getUsernameParameter() {
  return getAuthenticationFilter().getUsernameParameter();
}
origin: apache/servicemix-bundles

/**
 * Gets the HTTP parameter that is used to submit the username.
 *
 * @return the HTTP parameter that is used to submit the username
 */
private String getUsernameParameter() {
  return getAuthenticationFilter().getUsernameParameter();
}
origin: com.jtbdevelopment.core-games/games-web

private String getUsernameParameter() {
 return getAuthenticationFilter().getUsernameParameter();
}
origin: apache/servicemix-bundles

private void init(UsernamePasswordAuthenticationFilter authFilter,
    AbstractAuthenticationProcessingFilter openIDFilter) {
  this.loginPageUrl = DEFAULT_LOGIN_PAGE_URL;
  this.logoutSuccessUrl = DEFAULT_LOGIN_PAGE_URL + "?logout";
  this.failureUrl = DEFAULT_LOGIN_PAGE_URL + "?" + ERROR_PARAMETER_NAME;
  if (authFilter != null) {
    formLoginEnabled = true;
    usernameParameter = authFilter.getUsernameParameter();
    passwordParameter = authFilter.getPasswordParameter();
    if (authFilter.getRememberMeServices() instanceof AbstractRememberMeServices) {
      rememberMeParameter = ((AbstractRememberMeServices) authFilter
          .getRememberMeServices()).getParameter();
    }
  }
  if (openIDFilter != null) {
    openIdEnabled = true;
    openIDusernameParameter = "openid_identifier";
    if (openIDFilter.getRememberMeServices() instanceof AbstractRememberMeServices) {
      openIDrememberMeParameter = ((AbstractRememberMeServices) openIDFilter
          .getRememberMeServices()).getParameter();
    }
  }
}
org.springframework.security.web.authenticationUsernamePasswordAuthenticationFiltergetUsernameParameter

Popular methods of UsernamePasswordAuthenticationFilter

  • setPasswordParameter
  • setUsernameParameter
  • <init>
  • getPasswordParameter
  • attemptAuthentication
  • setAuthenticationDetailsSource
  • setAuthenticationFailureHandler
  • setAuthenticationManager
  • setAuthenticationSuccessHandler
  • setAllowSessionCreation
  • setRememberMeServices
  • setRequiresAuthenticationRequestMatcher
  • setRememberMeServices,
  • setRequiresAuthenticationRequestMatcher,
  • afterPropertiesSet,
  • doFilter,
  • getAuthenticationManager,
  • getFailureHandler,
  • getRememberMeServices,
  • getSuccessHandler,
  • obtainPassword

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getExternalFilesDir (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • JCheckBox (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now