Package de.msi.oauth.flow.signature
Interface SignatureMethodHandler<R,E extends Exception>
- Type Parameters:
R- the type of the return valueE- the type of the declared exception
public interface SignatureMethodHandler<R,E extends Exception>
Provides the capability to handle
SignatureMethod instances in a
typesafe way.- Author:
- Martin Siegemund
-
Field Summary
Fields Modifier and Type Field Description static StringNOT_IMPLEMENTEDdefault err msg -
Method Summary
Modifier and Type Method Description default Rvisit(HmacSha1Signature method)HandleHmacSha1Signaturein a typesafe way.default Rvisit(PlainTextSignature method)HandlePlainTextSignaturein a typesafe way.default Rvisit(RsaSha1Signature method)HandleRsaSha1Signaturein a typesafe way.
-
Field Details
-
NOT_IMPLEMENTED
default err msg- See Also:
- Constant Field Values
-
-
Method Details
-
visit
HandlePlainTextSignaturein a typesafe way.- Parameters:
method- thePlainTextSignature- Returns:
- the return value
- Throws:
E- if any failure occurredE extends Exception
-
visit
HandleHmacSha1Signaturein a typesafe way.- Parameters:
method- theHmacSha1Signature- Returns:
- the return value
- Throws:
E- if any failure occurredE extends Exception
-
visit
HandleRsaSha1Signaturein a typesafe way.- Parameters:
method- theRsaSha1Signature- Returns:
- the return value
- Throws:
E- if any failure occurredE extends Exception
-