java.lang.Object
de.stklcode.jvault.connector.model.TokenRole
- All Implemented Interfaces:
Serializable
Vault Token Role metamodel.
- Since:
- 0.9, 1.1 implements
Serializable
- Author:
- Stefan Kalscheuer
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder for vault token roles. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TokenRole.Builder
builder()
GetTokenRole.Builder
instance.boolean
getName()
int
hashCode()
-
Constructor Details
-
TokenRole
public TokenRole()Construct emptyTokenRole
object. -
TokenRole
-
-
Method Details
-
builder
GetTokenRole.Builder
instance.- Returns:
- Token Role Builder.
-
getName
- Returns:
- Token Role name
-
getAllowedPolicies
- Returns:
- List of allowed policies
-
getAllowedPoliciesGlob
- Returns:
- List of allowed policy glob patterns
- Since:
- 1.1
-
getDisallowedPolicies
- Returns:
- List of disallowed policies
-
getDisallowedPoliciesGlob
- Returns:
- List of disallowed policy glob patterns
- Since:
- 1.1
-
getOrphan
- Returns:
- Is Token Role orphan?
-
getRenewable
- Returns:
- Is Token Role renewable?
-
getPathSuffix
- Returns:
- Path suffix
-
getAllowedEntityAliases
- Returns:
- List of allowed entity aliases
-
getTokenBoundCidrs
- Returns:
- Token bound CIDR blocks
-
getTokenExplicitMaxTtl
- Returns:
- Token explicit maximum TTL
-
getTokenNoDefaultPolicy
- Returns:
- Token without default policy?
-
getTokenNumUses
- Returns:
- Token number of uses
-
getTokenPeriod
- Returns:
- Token period
-
getTokenType
- Returns:
- Token type
-
equals
-
hashCode
public int hashCode()
-