Package org.forgerock.openig.openam
Class CapturedUserPasswordContext
java.lang.Object
org.forgerock.services.context.AbstractContext
org.forgerock.openig.openam.CapturedUserPasswordContext
- All Implemented Interfaces:
 Context
A 
CapturedUserPasswordContext to store the user's decrypted password.- 
Field Summary
FieldsFields inherited from class org.forgerock.services.context.AbstractContext
data - 
Method Summary
Methods inherited from class org.forgerock.services.context.AbstractContext
as, asContext, containsContext, containsContext, get, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString 
- 
Field Details
- 
NAME
Context's name.- See Also:
 
 
 - 
 - 
Method Details
- 
getRaw
public byte[] getRaw()The bytes of the decrypted password.- Returns:
 - the bytes of the decrypted password.
 
 - 
getValue
Returns the decrypted password as an UTF-8String.- Returns:
 - the decrypted password as an UTF-8 
String. 
 - 
getValue
Returns a newStringby decoding the password using the specified charset.- Parameters:
 charset- The charset to be used to decode thebytes.- Returns:
 - the decrypted password as a 
String. 
 
 -