Package org.forgerock.openig.openam
Class CapturedUserPasswordContext
- java.lang.Object
-
- org.forgerock.services.context.AbstractContext
-
- org.forgerock.openig.openam.CapturedUserPasswordContext
-
- All Implemented Interfaces:
Context
public class CapturedUserPasswordContext extends AbstractContext
ACapturedUserPasswordContextto store the user's decrypted password.
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEContext's name.-
Fields inherited from class org.forgerock.services.context.AbstractContext
data
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getRaw()The bytes of the decrypted password.StringgetValue()Returns the decrypted password as an UTF-8String.StringgetValue(Charset charset)Returns a newStringby decoding the password using the specified charset.-
Methods inherited from class org.forgerock.services.context.AbstractContext
as, asContext, containsContext, containsContext, get, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
-
-
-
-
Field Detail
-
NAME
public static final String NAME
Context's name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getRaw
public byte[] getRaw()
The bytes of the decrypted password.- Returns:
- the bytes of the decrypted password.
-
getValue
public String getValue()
Returns the decrypted password as an UTF-8String.- Returns:
- the decrypted password as an UTF-8
String.
-
-