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 AuthModuleLogic
logic
-
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.Response
create(AuthModuleTO authModuleTO)
Create a new authentication module.void
delete(String key)
Delete authentication module matching the given key.List<AuthModuleTO>
list()
Returns a list of authentication modules.AuthModuleTO
read(String key)
Returns the authentication module matching the given key.void
update(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:AuthModuleService
Create a new authentication module.- Specified by:
create
in 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:AuthModuleService
Delete authentication module matching the given key.- Specified by:
delete
in interfaceAuthModuleService
- 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 interfaceAuthModuleService
- 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 interfaceAuthModuleService
- 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 interfaceAuthModuleService
- Parameters:
authModuleTO
- AuthModule to replace existing authentication module
-
-