Interface ScramExtension
-
public interface ScramExtensionExtension hook for optional SCRAM attributes.- Since:
- 5.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanprocess(java.lang.String name, java.lang.String value, org.apache.hc.core5.http.protocol.HttpContext context)Process an extension attribute.booleansupports(java.lang.String name)Whether this extension supports the given attribute name.
-
-
-
Method Detail
-
process
boolean process(java.lang.String name, java.lang.String value, org.apache.hc.core5.http.protocol.HttpContext context) throws AuthenticationExceptionProcess an extension attribute.- Parameters:
name- attribute namevalue- attribute value ornullcontext- HTTP context- Returns:
- true if processed, false to ignore
- Throws:
AuthenticationException- on processing error- Since:
- 5.6
-
supports
boolean supports(java.lang.String name)
Whether this extension supports the given attribute name.- Parameters:
name- attribute name- Returns:
- true if supported
- Since:
- 5.6
-
-