Tabnine Logo
JaasAuthenticationProvider.getApplicationEventPublisher
Code IndexAdd Tabnine to your IDE (free)

How to use
getApplicationEventPublisher
method
in
org.springframework.security.authentication.jaas.JaasAuthenticationProvider

Best Java code snippets using org.springframework.security.authentication.jaas.JaasAuthenticationProvider.getApplicationEventPublisher (Showing top 5 results out of 315)

origin: spring-projects/spring-security

/**
 * Publishes the {@link JaasAuthenticationFailedEvent}. Can be overridden by
 * subclasses for different functionality
 *
 * @param token The authentication token being processed
 * @param ase The excetion that caused the authentication failure
 */
@Override
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token,
    AuthenticationException ase) {
  // exists for passivity (the superclass does a null check before publishing)
  getApplicationEventPublisher()
      .publishEvent(new JaasAuthenticationFailedEvent(token, ase));
}
origin: org.springframework.security/spring-security-core

/**
 * Publishes the {@link JaasAuthenticationFailedEvent}. Can be overridden by
 * subclasses for different functionality
 *
 * @param token The authentication token being processed
 * @param ase The excetion that caused the authentication failure
 */
@Override
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token,
    AuthenticationException ase) {
  // exists for passivity (the superclass does a null check before publishing)
  getApplicationEventPublisher()
      .publishEvent(new JaasAuthenticationFailedEvent(token, ase));
}
origin: spring-projects/spring-security

@Test
public void testGetApplicationEventPublisher() throws Exception {
  assertThat(jaasProvider.getApplicationEventPublisher()).isNotNull();
}
origin: org.springframework.security/org.springframework.security.core

/**
 * Publishes the {@link JaasAuthenticationFailedEvent}. Can be overridden by subclasses for different
 * functionality
 *
 * @param token The authentication token being processed
 * @param ase The excetion that caused the authentication failure
 */
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token, AuthenticationException ase) {
  // exists for passivity (the superclass does a null check before publishing)
  getApplicationEventPublisher().publishEvent(new JaasAuthenticationFailedEvent(token, ase));
}
origin: apache/servicemix-bundles

/**
 * Publishes the {@link JaasAuthenticationFailedEvent}. Can be overridden by
 * subclasses for different functionality
 *
 * @param token The authentication token being processed
 * @param ase The excetion that caused the authentication failure
 */
@Override
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token,
    AuthenticationException ase) {
  // exists for passivity (the superclass does a null check before publishing)
  getApplicationEventPublisher()
      .publishEvent(new JaasAuthenticationFailedEvent(token, ase));
}
org.springframework.security.authentication.jaasJaasAuthenticationProvidergetApplicationEventPublisher

Popular methods of JaasAuthenticationProvider

  • getLoginContextName
  • configureJaas
    Hook method for configuring Jaas.
  • configureJaasUsingLoop
    Loops through the login.config.url.1,login.config.url.2 properties looking for the login configurati
  • convertLoginConfigToUrl
  • <init>
  • afterPropertiesSet
  • setLoginConfig
    Set the JAAS login configuration file.
  • setLoginContextName
  • authenticate
  • getAuthorityGranters
  • getCallbackHandlers
  • getLoginConfig
  • getCallbackHandlers,
  • getLoginConfig,
  • getLoginExceptionResolver,
  • handleLogout,
  • setApplicationEventPublisher,
  • setAuthorityGranters,
  • setCallbackHandlers,
  • setLoginExceptionResolver,
  • setRefreshConfigurationOnStartup

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • addToBackStack (FragmentTransaction)
  • getSharedPreferences (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Top plugins for Android Studio
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