Skip to main content
Version: 8.2411.x.x RR

TokenAssemblerState

Introduction and overview

This AuthState can be used as a post-processing state to generate additional Nevis security tokens.

Description

The following table and chapters describe the characteristics of the AuthState.

TopicDescription
Classch.nevis.esauth.auth.states.sectoken.TokenAssemblerState
LoggingSecToken
Auditingnone
Markernone
Methodsprocess (all events, execution is done in the finish step)

Properties

  • assembler (string, -)

    Name, used as a reference to a configured <TokenAssembler>.

  • key (string, "sectoken")

    Name of the output argument to return the Nevis security token to the caller.

  • generateNow (boolean, false)

    If set to "true", tokens will be generated immediately, not just when the conversation ends. As a result, it is possible to generate multiple tokens per conversation in that case. The default is "false", which means that only one token is generated at the end of the request.

Input

none

Transitions

  • default

Output

Errors

  • lasterror=99

    lasterrorinfo=authentication error (internal problem due to misconfiguration)

Notes

none

Example

<AuthState name="AlternateTokenGenerator" class="ch.nevis.esauth.auth.states.sectoken.TokenAssemblerState">
<ResultCond name="default" next="AuthDone"/>
<Response value="AUTH_ERROR">
<Gui name="ErrorDialog" />
</Response>
<property name="assembler" value="SecondaryTokenAssembler"/>
<property name="key" value="secondary.sectoken"/>
</AuthState>