Class WSSecurityContext

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

    public final class WSSecurityContext
    extends org.opensaml.messaging.context.BaseContext
    A subcontext that carries information related to WS-Security processing.
    • Field Detail

      • tokens

        private net.shibboleth.utilities.java.support.collection.LazyList<Token<?>> tokens
        List of known WS-Security tokens.
      • timestampCreated

        private Instant timestampCreated
        Value for Timestamp Created.
      • timestampExpires

        private Instant timestampExpires
        Value for Timestamp Expires.
    • Constructor Detail

      • WSSecurityContext

        public WSSecurityContext()
        Constructor.
    • Method Detail

      • getTokens

        @Nonnull
        public List<Token<?>> getTokens()
        Get the list of WS-Security tokens.
        Returns:
        the list of tokens
      • getTimestampCreated

        @Nullable
        public Instant getTimestampCreated()
        Get the value for Timestamp Created.
        Returns:
        the Timestamp Created value
      • setTimestampCreated

        public void setTimestampCreated​(@Nullable
                                        Instant value)
        Set the value for Timestamp Created.
        Parameters:
        value - the Timestamp Created value
      • getTimestampExpires

        @Nullable
        public Instant getTimestampExpires()
        Get the value for Timestamp Expires.
        Returns:
        the Timestamp Expires value
      • setTimestampExpires

        public void setTimestampExpires​(@Nullable
                                        Instant value)
        Set the value for Timestamp Expires.
        Parameters:
        value - the Timestamp Expires value