Package net.shibboleth.idp.cas.service
Class ServiceContext
- java.lang.Object
-
- org.opensaml.messaging.context.BaseContext
-
- net.shibboleth.idp.cas.service.ServiceContext
-
- All Implemented Interfaces:
Iterable<BaseContext>
public final class ServiceContext extends BaseContext
IdP context container for CAS service (i.e. relying party) metadata. This context is typically a child ofProfileRequestContext.
-
-
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 ServiceserviceMetadataService metadata held by context.
-
Constructor Summary
Constructors Constructor Description ServiceContext(Service service)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServicegetService()Get the service metadata held by this 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
-
serviceMetadata
@Nonnull private final Service serviceMetadata
Service metadata held by context.
-
-
Constructor Detail
-
ServiceContext
public ServiceContext(@Nonnull Service service)Creates a new instance.- Parameters:
service- Service metadata held by context.
-
-
Method Detail
-
getService
@Nonnull public Service getService()
Get the service metadata held by this context.- Returns:
- service metadata held by this context
-
-