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 theFragmentFilter
to know if a filter has attempted an impending IG redirection.
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME
Context'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 boolean
isImpendingIgRedirectNotified()
Returns whether an impending IG redirect has been performed or not.void
notifyImpendingIgRedirect()
Warn that an impending IG redirection has been attempted.-
Methods inherited from class org.forgerock.services.context.AbstractContext
asContext, containsContext, containsContext, 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:
true
if this context is aware of a impending IG redirect attempt.
-
notifyImpendingIgRedirect
public void notifyImpendingIgRedirect()
Warn that an impending IG redirection has been attempted.
-
-