Package com.okta.sdk.resource.model
Class ApplicationCredentialsUsernameTemplate
java.lang.Object
com.okta.sdk.resource.model.ApplicationCredentialsUsernameTemplate
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class ApplicationCredentialsUsernameTemplate
extends Object
implements Serializable
The template used to generate the username when the app is assigned through a group or directly to a user
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Determines if the username is pushed to the app on updates for CUSTOM `type`static enum
Type of mapping expression. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines if the username is pushed to the app on updates for CUSTOM `type`Mapping expression used to generate usernames.getType()
Type of mapping expression.An optional suffix appended to usernames for `BUILT_IN` mapping expressionsint
hashCode()
void
void
setTemplate
(String template) void
void
setUserSuffix
(String userSuffix) toString()
userSuffix
(String userSuffix)
-
Field Details
-
JSON_PROPERTY_PUSH_STATUS
- See Also:
-
JSON_PROPERTY_TEMPLATE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_USER_SUFFIX
- See Also:
-
-
Constructor Details
-
ApplicationCredentialsUsernameTemplate
public ApplicationCredentialsUsernameTemplate()
-
-
Method Details
-
pushStatus
public ApplicationCredentialsUsernameTemplate pushStatus(ApplicationCredentialsUsernameTemplate.PushStatusEnum pushStatus) -
getPushStatus
Determines if the username is pushed to the app on updates for CUSTOM `type`- Returns:
- pushStatus
-
setPushStatus
-
template
-
getTemplate
Mapping expression used to generate usernames. The following are supported mapping expressions that are used with the `BUILT_IN` template type: | Name | Template Expression | | ------------------------------- | ---------------------------------------------- | | AD Employee ID | `${source.employeeID}` | | AD SAM Account Name | `${source.samAccountName}` | | AD SAM Account Name (lowercase) | `${fn:toLowerCase(source.samAccountName)}` | | AD User Principal Name | `${source.userName}` | | AD User Principal Name prefix | `${fn:substringBefore(source.userName, \"@\")}` | | Email | `${source.email}` | | Email (lowercase) | `${fn:toLowerCase(source.email)}` | | Email prefix | `${fn:substringBefore(source.email, \"@\")}` | | LDAP UID + custom suffix | `${source.userName}${instance.userSuffix}` | | Okta username | `${source.login}` | | Okta username prefix | `${fn:substringBefore(source.login, \"@\")}` |- Returns:
- template
-
setTemplate
-
type
-
getType
Type of mapping expression. Empty string is allowed.- Returns:
- type
-
setType
-
userSuffix
-
getUserSuffix
An optional suffix appended to usernames for `BUILT_IN` mapping expressions- Returns:
- userSuffix
-
setUserSuffix
-
equals
-
hashCode
public int hashCode() -
toString
-