congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
HttpSecurityBuilder.removeConfigurer
Code IndexAdd Tabnine to your IDE (free)

How to use
removeConfigurer
method
in
org.springframework.security.config.annotation.web.HttpSecurityBuilder

Best Java code snippets using org.springframework.security.config.annotation.web.HttpSecurityBuilder.removeConfigurer (Showing top 5 results out of 315)

origin: spring-projects/spring-security

/**
 * Disables the {@link AbstractHttpConfigurer} by removing it. After doing so a fresh
 * version of the configuration can be applied.
 *
 * @return the {@link HttpSecurityBuilder} for additional customizations
 */
@SuppressWarnings("unchecked")
public B disable() {
  getBuilder().removeConfigurer(getClass());
  return getBuilder();
}
origin: org.springframework.security/spring-security-config

/**
 * Disables the {@link AbstractHttpConfigurer} by removing it. After doing so a fresh
 * version of the configuration can be applied.
 *
 * @return the {@link HttpSecurityBuilder} for additional customizations
 */
@SuppressWarnings("unchecked")
public B disable() {
  getBuilder().removeConfigurer(getClass());
  return getBuilder();
}
origin: apache/servicemix-bundles

/**
 * Disables the {@link AbstractHttpConfigurer} by removing it. After doing so a fresh
 * version of the configuration can be applied.
 *
 * @return the {@link HttpSecurityBuilder} for additional customizations
 */
@SuppressWarnings("unchecked")
public B disable() {
  getBuilder().removeConfigurer(getClass());
  return getBuilder();
}
origin: org.springframework.security/spring-security-javaconfig

/**
 * Disables anonymous authentication.
 *
 * @return the {@link HttpSecurity} since no further customization of anonymous authentication would be
 *         meaningful.
 */
@SuppressWarnings("unchecked")
public H disable() {
  getBuilder().removeConfigurer(getClass());
  return getBuilder();
}
origin: org.springframework.security/spring-security-javaconfig

@SuppressWarnings("unchecked")
public H disable() {
  getBuilder().removeConfigurer(getClass());
  return getBuilder();
}
org.springframework.security.config.annotation.webHttpSecurityBuilderremoveConfigurer

Javadoc

Removes the SecurityConfigurer by its class name or null if not found. Note that object hierarchies are not considered.

Popular methods of HttpSecurityBuilder

  • getSharedObject
    Gets a shared Object. Note that object heirarchies are not considered.
  • addFilter
    Adds a Filter that must be an instance of or extend one of the Filters provided within the Security
  • authenticationProvider
    Allows adding an additional AuthenticationProvider to be used
  • getConfigurer
    Gets the SecurityConfigurer by its class name ornull if not found. Note that object hierarchies are
  • setSharedObject
    Sets an object that is shared by multiple SecurityConfigurer.
  • addFilterBefore
    Allows adding a Filter before one of the known Filterclasses. The known Filter instances are either
  • getAuthenticationManager

Popular in Java

  • Finding current android device location
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Reference (javax.naming)
  • JTextField (javax.swing)
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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