Package org.forgerock.openig.secrets
Class PlainPropertyFormat
- java.lang.Object
-
- org.forgerock.openig.secrets.PlainPropertyFormat
-
- All Implemented Interfaces:
SecretPropertyFormat
,SecretDecoder
public class PlainPropertyFormat extends Object implements SecretPropertyFormat
ASecretPropertyFormat
for a PLAIN format.
-
-
Field Summary
-
Fields inherited from interface org.forgerock.secrets.SecretDecoder
RAW
-
-
Constructor Summary
Constructors Constructor Description PlainPropertyFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretBuilder
decode(String value)
Decodes the input property value, setting relevant properties on aSecretBuilder
object.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.forgerock.secrets.propertyresolver.SecretPropertyFormat
decodeToPromise, decodeToPromise
-
-
-
-
Method Detail
-
decode
public SecretBuilder decode(String value) throws NoSuchSecretException
Description copied from interface:SecretPropertyFormat
Decodes the input property value, setting relevant properties on aSecretBuilder
object.- Specified by:
decode
in interfaceSecretPropertyFormat
- Parameters:
value
- the value of the secret property.- Returns:
- the decoded secret information.
- Throws:
NoSuchSecretException
- If the property value does not contain a value that can be decoded.
-
-