@ElementType(value=TRANSLATOR) public class HashPipe extends FixedForwardPipe
Modifier and Type | Class and Description |
---|---|
static class |
HashPipe.HashAlgorithm |
static class |
HashPipe.HashEncoding |
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
HashPipe() |
Modifier and Type | Method and Description |
---|---|
PipeRunResult |
doPipe(Message message,
PipeLineSession session)
This is where the action takes place.
|
void |
setAlgorithm(HashPipe.HashAlgorithm algorithm)
Hash Algorithm to use
|
void |
setAuthAlias(String authAlias)
authAlias to retrieve the secret from (password field).
|
void |
setBinaryToTextEncoding(HashPipe.HashEncoding hashEncoding)
Deprecated.
|
void |
setCharset(String charset)
Character set to use for converting the secret from String to bytes
|
void |
setEncoding(String encoding)
Deprecated.
|
void |
setHashEncoding(HashPipe.HashEncoding hashEncoding)
Method to use for converting the hash from bytes to String
|
void |
setSecret(String secret)
The secret to hash with.
|
configure, getParameterValue, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getInSizeStatDummyObject, getOutSizeStatDummyObject, getParameterList, hasSizeStatistics, registerEvent, registerForward, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, start, stop, throwEvent
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getLocker, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine, throwEvent
getMaxThreads
getName
getApplicationContext, getName
getConfigurationClassLoader
getName
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
public PipeRunResult doPipe(Message message, PipeLineSession session) throws PipeRunException
IPipe
FixedResultPipe
, the Pipe
can schedule the input to be closed at session exit, by calling Message.closeOnCloseOf(PipeLineSession, String)
This allows the previous Pipe to release any resources (e.g. connections) that it might have kept open
until the message was consumed. Doing so avoids connections leaking from pools, while it enables
efficient streaming processing of data while it is being read from a stream.PipeRunException
public void setAlgorithm(HashPipe.HashAlgorithm algorithm)
@Deprecated @ConfigurationWarning(value="attribute encoding has been replaced with attribute charset, default has changed from ISO8859_1 to UTF-8") public void setEncoding(String encoding)
public void setCharset(String charset)
public void setHashEncoding(HashPipe.HashEncoding hashEncoding)
@Deprecated @ConfigurationWarning(value="use attribute hashEncoding instead") public void setBinaryToTextEncoding(HashPipe.HashEncoding hashEncoding)
public void setSecret(String secret)
public void setAuthAlias(String authAlias)
Copyright © 2023 Frank!Framework. All rights reserved.