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 Summary
Fields Modifier and Type Field Description protected AuthModuleLogiclogic-
Fields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfo
-
Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
-
-
Constructor Summary
Constructors Constructor Description AuthModuleServiceImpl(AuthModuleLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsecreate(AuthModuleTO authModuleTO)Create a new authentication module.voiddelete(String key)Delete authentication module matching the given key.List<AuthModuleTO>list()Returns a list of authentication modules.AuthModuleTOread(String key)Returns the authentication module matching the given key.voidupdate(AuthModuleTO authModuleTO)Updates authentication module matching the given key.-
Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getOrderByClauses, getPreference, isNullPriorityAsync, modificationResponse
-
-
-
-
Field Detail
-
logic
protected final AuthModuleLogic logic
-
-
Constructor Detail
-
AuthModuleServiceImpl
public AuthModuleServiceImpl(AuthModuleLogic logic)
-
-
Method Detail
-
create
public javax.ws.rs.core.Response create(AuthModuleTO authModuleTO)
Description copied from interface:AuthModuleServiceCreate a new authentication module.- Specified by:
createin interfaceAuthModuleService- 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:AuthModuleServiceDelete authentication module matching the given key.- Specified by:
deletein interfaceAuthModuleService- Parameters:
key- key of authentication module to be deleted
-
list
public List<AuthModuleTO> list()
Description copied from interface:AuthModuleServiceReturns a list of authentication modules.- Specified by:
listin interfaceAuthModuleService- Returns:
- list of authentication modules
-
read
public AuthModuleTO read(String key)
Description copied from interface:AuthModuleServiceReturns the authentication module matching the given key.- Specified by:
readin interfaceAuthModuleService- Parameters:
key- key of requested authentication module- Returns:
- authentication module with matching id
-
update
public void update(AuthModuleTO authModuleTO)
Description copied from interface:AuthModuleServiceUpdates authentication module matching the given key.- Specified by:
updatein interfaceAuthModuleService- Parameters:
authModuleTO- AuthModule to replace existing authentication module
-
-