Package org.forgerock.openig.filter
Class AuthRedirectContext
- java.lang.Object
-
- org.forgerock.services.context.AbstractContext
-
- org.forgerock.openig.filter.AuthRedirectContext
-
- All Implemented Interfaces:
Context
public class AuthRedirectContext extends AbstractContext
Used by theFragmentFilterto know if a filter has attempted an impending IG redirection.
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEContext's name.-
Fields inherited from class org.forgerock.services.context.AbstractContext
data
-
-
Constructor Summary
Constructors Constructor Description AuthRedirectContext(Context parent)Create an AuthRedirectContext instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisImpendingIgRedirectNotified()Returns whether an impending IG redirect has been performed or not.voidnotifyImpendingIgRedirect()Warn that an impending IG redirection has been attempted.-
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
-
-
Constructor Detail
-
AuthRedirectContext
public AuthRedirectContext(Context parent)
Create an AuthRedirectContext instance.- Parameters:
parent- the parent context.
-
-
Method Detail
-
isImpendingIgRedirectNotified
public boolean isImpendingIgRedirectNotified()
Returns whether an impending IG redirect has been performed or not.- Returns:
trueif this context is aware of a impending IG redirect attempt.
-
notifyImpendingIgRedirect
public void notifyImpendingIgRedirect()
Warn that an impending IG redirection has been attempted.
-
-