static TokenRole.Builder |
TokenRole.builder() |
|
TokenRole.Builder |
TokenRole.Builder.forName(String name) |
Add token role name.
|
TokenRole.Builder |
TokenRole.Builder.orphan(Boolean orphan) |
Set TRUE if the token role should be created orphan.
|
TokenRole.Builder |
TokenRole.Builder.renewable(Boolean renewable) |
Set TRUE if the token role should be created renewable.
|
TokenRole.Builder |
TokenRole.Builder.withAllowedEntityAlias(String allowedEntityAlias) |
Add an allowed entity alias.
|
TokenRole.Builder |
TokenRole.Builder.withAllowedEntityAliases(List<String> allowedEntityAliases) |
Add allowed entity aliases.
|
TokenRole.Builder |
TokenRole.Builder.withAllowedPolicies(List<String> allowedPolicies) |
Add allowed policies.
|
TokenRole.Builder |
TokenRole.Builder.withAllowedPolicy(String allowedPolicy) |
Add an allowed policy.
|
TokenRole.Builder |
TokenRole.Builder.withDisallowedPolicies(List<String> disallowedPolicies) |
Add disallowed policies.
|
TokenRole.Builder |
TokenRole.Builder.withDisallowedPolicy(String disallowedPolicy) |
Add a disallowed policy.
|
TokenRole.Builder |
TokenRole.Builder.withPathSuffix(String pathSuffix) |
Set token role path suffix.
|
TokenRole.Builder |
TokenRole.Builder.withTokenBoundCidr(String tokenBoundCidr) |
Add a single bound CIDR.
|
TokenRole.Builder |
TokenRole.Builder.withTokenBoundCidrs(List<String> tokenBoundCidrs) |
Add a list of bound CIDRs.
|
TokenRole.Builder |
TokenRole.Builder.withTokenExplicitMaxTtl(Integer tokenExplicitMaxTtl) |
Set explicit max.
|
TokenRole.Builder |
TokenRole.Builder.withTokenNoDefaultPolicy(Boolean tokenNoDefaultPolicy) |
Set TRUE if the token role should be created renewable.
|
TokenRole.Builder |
TokenRole.Builder.withTokenNumUses(Integer tokenNumUses) |
Set number of uses for tokens.
|
TokenRole.Builder |
TokenRole.Builder.withTokenPeriod(Integer tokenPeriod) |
Set token period.
|
TokenRole.Builder |
TokenRole.Builder.withTokenType(Token.Type tokenType) |
Set token type.
|