Interface SAML2SP4UIIdPService

  • All Superinterfaces:
    JAXRSService
    All Known Implementing Classes:
    SAML2SP4UIIdPServiceImpl

    @Path("saml2sp4ui/identityProviders")
    public interface SAML2SP4UIIdPService
    extends JAXRSService
    REST operations for SAML 2.0 SP4UI Identity Providers.
    • Method Detail

      • list

        @GET
        @Produces({"application/json","application/yaml","application/xml"})
        List<SAML2SP4UIIdPTO> list()
        Returns a list of all defined SAML 2.0 Identity Providers.
        Returns:
        list of all defined SAML 2.0 Identity Providers
      • read

        @GET
        @Path("{key}")
        @Produces({"application/json","application/yaml","application/xml"})
        SAML2SP4UIIdPTO read​(@PathParam("key")
                             String key)
        Returns the SAML 2.0 Identity Provider with matching entityID, if available.
        Parameters:
        key - SAML 2.0 Identity Provider's entityID
        Returns:
        SAML 2.0 Identity Provider with matching entityID, if available
      • importFromMetadata

        @POST
        @Consumes("application/xml")
        @Produces({"application/json","application/yaml","application/xml"})
        javax.ws.rs.core.Response importFromMetadata​(@NotNull
                                                     @NotNull InputStream input)
        Imports the SAML 2.0 Identity Provider definitions available in the provided XML metadata.
        Parameters:
        input - XML metadata
        Returns:
        the entityID values for all imported SAML 2.0 Identity Providers
      • update

        @PUT
        @Path("{key}")
        @Consumes({"application/json","application/yaml","application/xml"})
        @Produces({"application/json","application/yaml","application/xml"})
        void update​(@NotNull
                    @NotNull SAML2SP4UIIdPTO saml2IdpTO)
        Updates the SAML 2.0 Identity Provider with matching entityID.
        Parameters:
        saml2IdpTO - idp configuration to be stored
      • delete

        @DELETE
        @Path("{key}")
        @Produces({"application/json","application/yaml","application/xml"})
        void delete​(@PathParam("key")
                    String key)
        Deletes the SAML 2.0 Identity Provider with matching entityID.
        Parameters:
        key - SAML 2.0 Identity Provider's entityID