SAML for securing RESTful API

I have a single page application with angular front-end and sping backend. I am able to authenticate the user in the frontend using SAML (used saml-2js), but how do we secure the rest endpoints of the spring backend with SAML?

Any inputs appreciated.

Thanks.