Class SAMLMetadataContext

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

    public final class SAMLMetadataContext
    extends org.opensaml.messaging.context.BaseContext
    Subcontext that carries information SAML metadata about an associated entity. This context usually appears as a subcontext of the MessageContext that carries the actual SAML message, in such cases the metadata carried herein applies to the issuer of that message.
    • Field Detail

      • entityDescriptor

        @Nullable
        private EntityDescriptor entityDescriptor
        The descriptor of the SAML entity.
      • roleDescriptor

        @Nullable
        private transient RoleDescriptor roleDescriptor
        The role descriptor of the SAML entity.
    • Constructor Detail

      • SAMLMetadataContext

        public SAMLMetadataContext()
    • Method Detail

      • getEntityDescriptor

        @Nullable
        public EntityDescriptor getEntityDescriptor()
        Gets the descriptor of the SAML entity.
        Returns:
        descriptor of the SAML entity, may be null
      • setEntityDescriptor

        public void setEntityDescriptor​(@Nullable
                                        EntityDescriptor descriptor)
        Sets the descriptor of the SAML entity.
        Parameters:
        descriptor - of the SAML entity
      • getRoleDescriptor

        @Nullable
        public RoleDescriptor getRoleDescriptor()
        Gets the role descriptor of the SAML entity.
        Returns:
        role descriptor of the SAML entity
      • setRoleDescriptor

        public void setRoleDescriptor​(@Nullable
                                      RoleDescriptor descriptor)
        Sets the role descriptor of the SAML entity.
        Parameters:
        descriptor - role descriptor of the SAML entity