Package | Description |
---|---|
org.nuclos.api.authentication |
Modifier and Type | Method and Description |
---|---|
static AuthenticationResult.Builder |
AuthenticationResult.builder()
Constructs a new builder instance for an authentication result with default settings.
|
AuthenticationResult.Builder |
AuthenticationResult.Builder.withAttribute(java.lang.String attribute,
java.lang.String value)
You can store important information here and access it later during a refresh.
|
AuthenticationResult.Builder |
AuthenticationResult.Builder.withDataLanguage(NuclosLocale dataLanguage)
Data language for the new session, if in use be the system.
|
AuthenticationResult.Builder |
AuthenticationResult.Builder.withLifetime(long lifetime,
java.util.concurrent.TimeUnit unit)
The default lifetime is
AuthenticationResult.UNSET , which means that the system is handling
the session lifetime only and a refresh is never called. |
AuthenticationResult.Builder |
AuthenticationResult.Builder.withLocale(NuclosLocale locale)
Default is
NuclosLocale.DE_DE |
AuthenticationResult.Builder |
AuthenticationResult.Builder.withLoginRequired(boolean loginRequired) |
AuthenticationResult.Builder |
AuthenticationResult.Builder.withMandatorId(UID mandatorId)
If mandators are in use, the new session will need a selected one,
similar to the login with a web- or rich-client.
|
AuthenticationResult.Builder |
AuthenticationResult.Builder.withServerUri(java.net.URI serverUri)
Clients can reach the application server via this base URI.
|
AuthenticationResult.Builder |
AuthenticationResult.Builder.withUserId(UID userId)
Either username or user id must be specified.
|
AuthenticationResult.Builder |
AuthenticationResult.Builder.withUsername(java.lang.String username)
Either username or user id must be specified.
|
Copyright © 2024. All rights reserved.