REST - Logon - Saml
REST-Interface
Security Assertion Markup Language (SAML) is an XML-based framework for authentication and authorization between two entities: a Service Provider and an Identity Provider. The Service Provider agrees to trust the Identity Provider to authenticate users. In return, the Identity provider generates an authentication assertion, which indicates that a user has been authenticated.
Get Metadata
URL
GET <application-url>/api/logon/saml/metadata
Produces
text/plain
XML-Metadata
- 200 OK
- 204 NO_CONTENT
- 500 INTERNAL_SERVER_ERROR
Permission
-
Sample
GET http://localhost:8080/mtr-backend/api/logon/saml/metadata
Send authn-request
Generate authn-request and redirect to saml-IdP..
URL
GET <application-url>/api/logon/saml
Produces
- 303 SEE_OTHER
- 500 INTERNAL_SERVER_ERROR
Permission
-
Sample
GET http://localhost:8080/mtr-backend/api/logon/saml
Handle Saml-Response
Try to login with saml-response.
URL
POST <application-url>/api/logon/saml
Produces
- 303 SEE_OTHER
- 500 INTERNAL_SERVER_ERROR
Permission
-
Sample
POST http://localhost:8080/mtr-backend/api/logon/saml