Class AbstractOIDCEntityContext
- java.lang.Object
-
- org.opensaml.messaging.context.BaseContext
-
- net.shibboleth.oidc.profile.messaging.context.AbstractOIDCEntityContext
-
- All Implemented Interfaces:
Iterable<BaseContext>
- Direct Known Subclasses:
OIDCPeerEntityContext
public class AbstractOIDCEntityContext extends BaseContext
Abstract base class for subcontexts that carry information about a OIDC entity. This context will often contain subcontexts, whose data is construed to be scoped to that entity.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
-
Constructor Summary
Constructors Constructor Description AbstractOIDCEntityContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIdentifier()Gets the identifier of the OIDC entity.AbstractOIDCEntityContextsetIdentifier(String id)Sets the identifier of the OIDC entity e.g.-
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
-
getIdentifier
@Nullable @NotEmpty public String getIdentifier()
Gets the identifier of the OIDC entity.- Returns:
- identifier of the OIDC entity, may be null
-
setIdentifier
public AbstractOIDCEntityContext setIdentifier(@Nullable String id)
Sets the identifier of the OIDC entity e.g. issuerId or ClientId.- Parameters:
id- the new identifier- Returns:
- this
-
-