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 of ProfileRequestContext.
  • Field Details

    • serviceMetadata

      @Nonnull private final Service serviceMetadata
      Service metadata held by context.
  • Constructor Details

    • ServiceContext

      public ServiceContext​(@Nonnull Service service)
      Creates a new instance.
      Parameters:
      service - Service metadata held by context.
  • Method Details

    • getService

      @Nonnull public Service getService()
      Get the service metadata held by this context.
      Returns:
      service metadata held by this context