Codota Logo
JaasAuthenticationProvider.getApplicationEventPublisher
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
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

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
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