Interface ScramExtension


public interface ScramExtension
Extension hook for optional SCRAM attributes.
Since:
5.6
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    process(String name, String value, org.apache.hc.core5.http.protocol.HttpContext context)
    Process an extension attribute.
    boolean
    Whether this extension supports the given attribute name.
  • Method Details

    • process

      boolean process(String name, String value, org.apache.hc.core5.http.protocol.HttpContext context) throws AuthenticationException
      Process an extension attribute.
      Parameters:
      name - attribute name
      value - attribute value or null
      context - HTTP context
      Returns:
      true if processed, false to ignore
      Throws:
      AuthenticationException - on processing error
      Since:
      5.6
    • supports

      boolean supports(String name)
      Whether this extension supports the given attribute name.
      Parameters:
      name - attribute name
      Returns:
      true if supported
      Since:
      5.6