Package org.forgerock.selfservice.core
Class SelfServiceContext
- java.lang.Object
-
- org.forgerock.services.context.AbstractContext
-
- org.forgerock.selfservice.core.SelfServiceContext
-
- All Implemented Interfaces:
Context
public final class SelfServiceContext extends AbstractContext
A Context that indicates the request came from Self-Service.- Since:
- 0.2.0
-
-
Field Summary
-
Fields inherited from class org.forgerock.services.context.AbstractContext
data
-
-
Constructor Summary
Constructors Constructor Description SelfServiceContext(JsonValue savedContext, ClassLoader classLoader)
Constructs a new SelfServiceContext.SelfServiceContext(Context parent)
Constructs a new SelfServiceContext.
-
Method Summary
-
Methods inherited from class org.forgerock.services.context.AbstractContext
asContext, containsContext, containsContext, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
-
-
-
-
Constructor Detail
-
SelfServiceContext
public SelfServiceContext(Context parent)
Constructs a new SelfServiceContext.- Parameters:
parent
- The parent context.
-
SelfServiceContext
public SelfServiceContext(JsonValue savedContext, ClassLoader classLoader)
Constructs a new SelfServiceContext.- Parameters:
savedContext
- The JSON representation from which this context's attributes should be parsed.classLoader
- The ClassLoader which can properly resolve the persisted class-name.
-
-