TokenAssemblerState
Introduction and overview
This AuthState can be used as a post-processing state to generate additional Nevis security tokens.
Description
The following table describes the characteristics of the AuthState.
Topic | Description |
---|---|
Class | ch.nevis.esauth.auth.states.sectoken.TokenAssemblerState |
Logging | SecToken |
Auditing | none |
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. | |
Methods | process (all events, execution is done in the finish step) |
Input | none |
Transitions | default |
Output | sectoken: Contains a single-line encoded Nevis security token as defined by the token assembler. See Token assemblers and keystores for further information. |
Errors | 99: 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>