Package org.forgerock.am.cts.utils.blob
Interface BlobStrategy
- All Known Subinterfaces:
AttributeCompressionStrategy
public interface BlobStrategy
Responsible for defining the interface of the Token Blob Strategy. Each implementation is
expected to modify the Token in some consistent way.
The strategy should be symmetrical. Once performed, it should be possible to reverse the process
and visa versa.
-
Method Summary
-
Method Details
-
perform
Perform the operation on the Token. This operation is expected to modify the Token in some way which will require reversing in the opposite direction.- Parameters:
blob
- Non null Token data to modify.- Throws:
TokenStrategyFailedException
- If an error occurred whilst processing the Token.
-
reverse
Reverse the operation on the Token. This operation is expected to modify the Token in some way which can be reversed by performing it again.- Parameters:
blob
- Non null Token data to modify.- Throws:
TokenStrategyFailedException
- If an error occurred whilst processing the Token.
-