Class SimpleCredentialName
java.lang.Object
org.springframework.credhub.support.CredentialName
org.springframework.credhub.support.SimpleCredentialName
The client-provided name of a credential. The name consists of one or more segments.
When the value of each segment are combined the full name of the credential will be of
the form /segment1/segment2/segment3.
Objects of this type are created by clients and included as part of requests.
- Author:
- Scott Frederick
-
Constructor Summary
ConstructorDescriptionSimpleCredentialName
(String... segments) Create aSimpleCredentialName
from the provided segments. -
Method Summary
Methods inherited from class org.springframework.credhub.support.CredentialName
equals, getName, hashCode
-
Constructor Details
-
SimpleCredentialName
Create aSimpleCredentialName
from the provided segments.- Parameters:
segments
- the credential name segments; must not be null and must contain at least one segment
-
-
Method Details
-
toString
- Overrides:
toString
in classCredentialName
-