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
FieldsModifier and TypeFieldDescriptionprotected final CoreIdmEngineConfigurationDeprecated.protected Collection<String> Deprecated.protected StringDeprecated.protected DurationDeprecated.protected InstantDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionTokenAuthenticationBuilderImpl(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.org.flowable.idm.api.Tokencreate()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:TokenAuthenticationBuilderThe 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:
userIdin interfaceTokenAuthenticationBuilder- Parameters:
userId- the id of the user
-
addGroup
Deprecated.Description copied from interface:TokenAuthenticationBuilderThe granted group access for this token.- Specified by:
addGroupin interfaceTokenAuthenticationBuilder- Parameters:
groupKey- the key of the group
-
addGroups
Deprecated.Description copied from interface:TokenAuthenticationBuilderThe granted groups access for this token.- Specified by:
addGroupsin interfaceTokenAuthenticationBuilder- Parameters:
groupKeys- the group keys
-
validFor
Deprecated.Description copied from interface:TokenAuthenticationBuilderThe duration for which the token is valid. It must be a positive duration. This is mutually exclusive withTokenAuthenticationBuilder.validUntil(Instant).- Specified by:
validForin interfaceTokenAuthenticationBuilder- Parameters:
validityDuration- the positive duration
-
validUntil
Deprecated.Description copied from interface:TokenAuthenticationBuilderUntil when the token is valid. This is mutually exclusive withTokenAuthenticationBuilder.validFor(Duration).- Specified by:
validUntilin interfaceTokenAuthenticationBuilder- Parameters:
validUntil- the date until the token is valid
-
create
public org.flowable.idm.api.Token create()Deprecated.Description copied from interface:TokenAuthenticationBuilderCreate the token. The value of the token should be retrieved throughToken.getTokenData().- Specified by:
createin interfaceTokenAuthenticationBuilder- Returns:
- the created token
-