Token.Builder |
Token.Builder.asOrphan() |
Create token without parent.
|
static Token.Builder |
Token.builder() |
|
Token.Builder |
Token.Builder.notRenewable() |
Set token to be not renewable.
|
Token.Builder |
Token.Builder.renewable() |
Set token to be renewable.
|
Token.Builder |
Token.Builder.withDefaultPolicy() |
Attach default policy to token.
|
Token.Builder |
Token.Builder.withDisplayName(String displayName) |
Add display name.
|
Token.Builder |
Token.Builder.withEntityAlias(String entityAlias) |
Set entity alias for token.
|
Token.Builder |
Token.Builder.withExplicitMaxTtl(Integer explicitMaxTtl) |
Set desired explicit maximum time to live.
|
Token.Builder |
Token.Builder.withId(String id) |
Add token ID.
|
Token.Builder |
Token.Builder.withMeta(String key,
String value) |
Add meta data.
|
Token.Builder |
Token.Builder.withMeta(Map<String,String> meta) |
Add meta data.
|
Token.Builder |
Token.Builder.withNoDefaultPolicy(boolean noDefaultPolicy) |
Set TRUE if the default policy should not be part of this token.
|
Token.Builder |
Token.Builder.withNoParent(boolean noParent) |
Set TRUE if the token should be created without parent.
|
Token.Builder |
Token.Builder.withNumUses(Integer numUses) |
Set desired number of uses.
|
Token.Builder |
Token.Builder.withoutDefaultPolicy() |
Do not attach default policy to token.
|
Token.Builder |
Token.Builder.withParent() |
Create token with parent.
|
Token.Builder |
Token.Builder.withPeriod(Integer period) |
Set token period (former lease time).
|
Token.Builder |
Token.Builder.withPolicies(String... policies) |
Add given policies.
|
Token.Builder |
Token.Builder.withPolicies(List<String> policies) |
Add given policies.
|
Token.Builder |
Token.Builder.withPolicy(String policy) |
Add a single policy.
|
Token.Builder |
Token.Builder.withRenewable(Boolean renewable) |
Set if token is renewable.
|
Token.Builder |
Token.Builder.withTtl(Integer ttl) |
Set desired time to live.
|
Token.Builder |
Token.Builder.withType(Token.Type type) |
Specify token type.
|