Class AuthModuleServiceImpl

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

@Service public class AuthModuleServiceImpl extends AbstractService implements AuthModuleService
  • Field Details

  • Constructor Details

    • AuthModuleServiceImpl

      public AuthModuleServiceImpl(AuthModuleLogic logic)
  • Method Details

    • create

      public Response create(AuthModuleTO authModuleTO)
      Description copied from interface: AuthModuleService
      Create a new authentication module.
      Specified by:
      create in interface AuthModuleService
      Parameters:
      authModuleTO - AuthModule to be created.
      Returns:
      Response object featuring Location header of created authentication module
    • delete

      public void delete(String key)
      Description copied from interface: AuthModuleService
      Delete authentication module matching the given key.
      Specified by:
      delete in interface AuthModuleService
      Parameters:
      key - key of authentication module to be deleted
    • list

      public List<AuthModuleTO> list()
      Description copied from interface: AuthModuleService
      Returns a list of authentication modules.
      Specified by:
      list in interface AuthModuleService
      Returns:
      list of authentication modules
    • read

      public AuthModuleTO read(String key)
      Description copied from interface: AuthModuleService
      Returns the authentication module matching the given key.
      Specified by:
      read in interface AuthModuleService
      Parameters:
      key - key of requested authentication module
      Returns:
      authentication module with matching id
    • update

      public void update(AuthModuleTO authModuleTO)
      Description copied from interface: AuthModuleService
      Updates authentication module matching the given key.
      Specified by:
      update in interface AuthModuleService
      Parameters:
      authModuleTO - AuthModule to replace existing authentication module