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

# Class InternalSecurityFilter

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

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

@PreMatching @Priority(3030) public class InternalSecurityFilter extends Object implements jakarta.ws.rs.container.ContainerRequestFilter
This filter is used to get certificate from ServletRequest Then get vitam context attached to this certificate.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `ACCESS_EXTERNAL`
  `static final String`
  `INGEST_EXTERNAL`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InternalSecurityFilter(boolean allowSslClientHeader)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `destroy()`
  `void`
  `filter(jakarta.ws.rs.container.ContainerRequestContext requestContext)`

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

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

- ## Field Details

  - ### ACCESS_EXTERNAL

    public static final String ACCESS_EXTERNAL
    See Also:
      - Constant Field Values

  - ### INGEST_EXTERNAL

    public static final String INGEST_EXTERNAL
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### InternalSecurityFilter

    public InternalSecurityFilter(boolean allowSslClientHeader)

- ## Method Details

  - ### filter

    public void filter(jakarta.ws.rs.container.ContainerRequestContext requestContext)
    Specified by:
      `filter` in interface `jakarta.ws.rs.container.ContainerRequestFilter`

  - ### destroy

    public void destroy()