Class ServiceContext

  • All Implemented Interfaces:
    Iterable<org.opensaml.messaging.context.BaseContext>

    public final class ServiceContext
    extends org.opensaml.messaging.context.BaseContext
    IdP context container for CAS service (i.e. relying party) metadata. This context is typically a child of ProfileRequestContext.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext

        org.opensaml.messaging.context.BaseContext.ContextSetNoRemoveIteratorDecorator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Service serviceMetadata
      Service metadata held by context.
    • Constructor Summary

      Constructors 
      Constructor Description
      ServiceContext​(Service service)
      Creates a new instance.
    • 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