Package com.flowable.idm.engine.impl
Class TokenAuthenticationBuilderImpl
java.lang.Object
com.flowable.idm.engine.impl.TokenAuthenticationBuilderImpl
- All Implemented Interfaces:
TokenAuthenticationBuilder
@Deprecated
public class TokenAuthenticationBuilderImpl
extends Object
implements TokenAuthenticationBuilder
Deprecated.
- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CoreIdmEngineConfiguration
Deprecated.protected Collection<String>
Deprecated.protected String
Deprecated.protected Duration
Deprecated.protected Instant
Deprecated. -
Constructor Summary
ConstructorDescriptionTokenAuthenticationBuilderImpl
(CoreIdmEngineConfiguration engineConfiguration) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The granted group access for this token.addGroups
(Collection<String> groupKeys) Deprecated.The granted groups access for this token.create()
Deprecated.Create the token.Deprecated.The id of the user to which the token belongs.Deprecated.The duration for which the token is valid.validUntil
(Instant validUntil) Deprecated.Until when the token is valid.
-
Field Details
-
engineConfiguration
Deprecated. -
userId
Deprecated. -
groupKeys
Deprecated. -
validFor
Deprecated. -
validUntil
Deprecated.
-
-
Constructor Details
-
TokenAuthenticationBuilderImpl
Deprecated.
-
-
Method Details
-
userId
Deprecated.Description copied from interface:TokenAuthenticationBuilder
The id of the user to which the token belongs. This can be any user which isn't part of the Flowable Identity Service.- Specified by:
userId
in interfaceTokenAuthenticationBuilder
- Parameters:
userId
- the id of the user
-
addGroup
Deprecated.Description copied from interface:TokenAuthenticationBuilder
The granted group access for this token.- Specified by:
addGroup
in interfaceTokenAuthenticationBuilder
- Parameters:
groupKey
- the key of the group
-
addGroups
Deprecated.Description copied from interface:TokenAuthenticationBuilder
The granted groups access for this token.- Specified by:
addGroups
in interfaceTokenAuthenticationBuilder
- Parameters:
groupKeys
- the group keys
-
validFor
Deprecated.Description copied from interface:TokenAuthenticationBuilder
The duration for which the token is valid. It must be a positive duration. This is mutually exclusive withTokenAuthenticationBuilder.validUntil(Instant)
.- Specified by:
validFor
in interfaceTokenAuthenticationBuilder
- Parameters:
validityDuration
- the positive duration
-
validUntil
Deprecated.Description copied from interface:TokenAuthenticationBuilder
Until when the token is valid. This is mutually exclusive withTokenAuthenticationBuilder.validFor(Duration)
.- Specified by:
validUntil
in interfaceTokenAuthenticationBuilder
- Parameters:
validUntil
- the date until the token is valid
-
create
Deprecated.Description copied from interface:TokenAuthenticationBuilder
Create the token. The value of the token should be retrieved throughToken.getTokenData()
.- Specified by:
create
in interfaceTokenAuthenticationBuilder
- Returns:
- the created token
-