Class SAML2SP4UIIdPServiceImpl

java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.SAML2SP4UIIdPServiceImpl
All Implemented Interfaces:
JAXRSService, SAML2SP4UIIdPService

@Service public class SAML2SP4UIIdPServiceImpl extends AbstractService implements SAML2SP4UIIdPService
  • Field Details

  • Constructor Details

  • Method Details

    • list

      public List<SAML2SP4UIIdPTO> list()
      Description copied from interface: SAML2SP4UIIdPService
      Returns a list of all defined SAML 2.0 Identity Providers.
      Specified by:
      list in interface SAML2SP4UIIdPService
      Returns:
      list of all defined SAML 2.0 Identity Providers
    • read

      public SAML2SP4UIIdPTO read(String key)
      Description copied from interface: SAML2SP4UIIdPService
      Returns the SAML 2.0 Identity Provider with matching entityID, if available.
      Specified by:
      read in interface SAML2SP4UIIdPService
      Parameters:
      key - SAML 2.0 Identity Provider's entityID
      Returns:
      SAML 2.0 Identity Provider with matching entityID, if available
    • importFromMetadata

      public Response importFromMetadata(InputStream input)
      Description copied from interface: SAML2SP4UIIdPService
      Imports the SAML 2.0 Identity Provider definitions available in the provided XML metadata.
      Specified by:
      importFromMetadata in interface SAML2SP4UIIdPService
      Parameters:
      input - XML metadata
      Returns:
      the entityID values for all imported SAML 2.0 Identity Providers
    • update

      public void update(SAML2SP4UIIdPTO saml2IdpTO)
      Description copied from interface: SAML2SP4UIIdPService
      Updates the SAML 2.0 Identity Provider with matching entityID.
      Specified by:
      update in interface SAML2SP4UIIdPService
      Parameters:
      saml2IdpTO - idp configuration to be stored
    • delete

      public void delete(String key)
      Description copied from interface: SAML2SP4UIIdPService
      Deletes the SAML 2.0 Identity Provider with matching entityID.
      Specified by:
      delete in interface SAML2SP4UIIdPService
      Parameters:
      key - SAML 2.0 Identity Provider's entityID