Package fr.gouv.vitam.security.internal.filter

# Class BasicAuthenticationFilter

java.lang.Object
fr.gouv.vitam.security.internal.filter.BasicAuthenticationFilter

All Implemented Interfaces:
  `jakarta.ws.rs.container.DynamicFeature`

@PreMatching @Priority(3050) public class BasicAuthenticationFilter extends Object implements jakarta.ws.rs.container.DynamicFeature
Handles REST endpoints's access based on the basic authentication. Registers for each `VitamAuthentication`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BasicAuthenticationFilter(DefaultVitamApplicationConfiguration configuration)`
  contructor with configuration.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `configure(jakarta.ws.rs.container.ResourceInfo resourceInfo, jakarta.ws.rs.core.FeatureContext featureContext)`
  Register endpoint authentication filters for @VitamAuthentication endpoint resource.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BasicAuthenticationFilter

    public BasicAuthenticationFilter(DefaultVitamApplicationConfiguration configuration)
    contructor with configuration.
    Parameters:
      `configuration` -

- ## Method Details

  - ### configure

    public void configure(jakarta.ws.rs.container.ResourceInfo resourceInfo, jakarta.ws.rs.core.FeatureContext featureContext)
    Register endpoint authentication filters for @VitamAuthentication endpoint resource.
    Specified by:
      `configure` in interface `jakarta.ws.rs.container.DynamicFeature`
    Parameters:
      `resourceInfo` -
      `featureContext` -