Package net.shibboleth.idp.authn.context
Class AuthenticationWarningContext
- java.lang.Object
-
- org.opensaml.messaging.context.BaseContext
-
- net.shibboleth.idp.authn.context.AuthenticationWarningContext
-
- All Implemented Interfaces:
Iterable<BaseContext>
public final class AuthenticationWarningContext extends BaseContext
A context that holds information about authentication warnings.The login process is particularly prone to requiring detailed warning information to provide appropriate user feedback and auditing, and this context tracks warnings that occur and preserves detailed information about the kind of warnings encountered in multi-part authentication flows.
- Parent:
AuthenticationContext- Added:
- After a warning is generated during authentication
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
-
Field Summary
Fields Modifier and Type Field Description private Collection<String>classifiedWarningsWarning conditions detected through classified warning messages.
-
Constructor Summary
Constructors Constructor Description AuthenticationWarningContext()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>getClassifiedWarnings()Get a mutable collection of warning "tokens" associated with the context.booleanisClassifiedWarning(String warning)Check for the presence of a particular warning condition in the context.-
Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
classifiedWarnings
private Collection<String> classifiedWarnings
Warning conditions detected through classified warning messages.
-
-
Method Detail
-
getClassifiedWarnings
@Nonnull @NonnullElements @Live public Collection<String> getClassifiedWarnings()
Get a mutable collection of warning "tokens" associated with the context.- Returns:
- mutable collection of warning strings
-
-