Class AbstractAuthenticatableOIDCContext
- java.lang.Object
-
- org.opensaml.messaging.context.BaseContext
-
- net.shibboleth.idp.plugin.authn.oidc.rp.context.AbstractAuthenticatableOIDCContext
-
- All Implemented Interfaces:
Iterable<BaseContext>
- Direct Known Subclasses:
AccessTokenResponseContext,UserInfoResponseContext
public class AbstractAuthenticatableOIDCContext extends BaseContext
An abstract base class for subcontexts that carry information which may be authenticated. For example, tokens received over TLS where server TLS credential validation was performed and successful.
-
-
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 booleanauthenticatedFlag indicating whether the information contained in this context has been authenticated.
-
Constructor Summary
Constructors Constructor Description AbstractAuthenticatableOIDCContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAuthenticated()Gets the flag indicating whether the information contained in this context has been authenticated.AbstractAuthenticatableOIDCContextsetAuthenticated(boolean flag)Sets the flag indicating whether the information contained in this context has been authenticated.-
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
-
-
-
-
Method Detail
-
isAuthenticated
public boolean isAuthenticated()
Gets the flag indicating whether the information contained in this context has been authenticated.- Returns:
- Returns the authenticated flag.
-
setAuthenticated
public AbstractAuthenticatableOIDCContext setAuthenticated(boolean flag)
Sets the flag indicating whether the information contained in this context has been authenticated.- Parameters:
flag- The flag to set.- Returns:
- this
-
-