Class SecurityQuestionServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.SecurityQuestionServiceImpl
- All Implemented Interfaces:
JAXRSService,SecurityQuestionService
-
Field Summary
FieldsFields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfoFields 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 -
Method Summary
Modifier and TypeMethodDescriptioncreate(SecurityQuestionTO securityQuestionTO) Creates a new security question.voidDeletes the security question matching the provided key.list()Returns a list of all security questions.Returns security question with matching key.readByUser(String username) Ask for security question configured for the user matching the given username, if any.voidupdate(SecurityQuestionTO securityQuestionTO) Updates the security question matching the provided key.Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getPreference, isNullPriorityAsync, modificationResponse, pageable, pageable, sort
-
Field Details
-
logic
-
-
Constructor Details
-
SecurityQuestionServiceImpl
-
-
Method Details
-
list
Description copied from interface:SecurityQuestionServiceReturns a list of all security questions.- Specified by:
listin interfaceSecurityQuestionService- Returns:
- list of all security questions
-
read
Description copied from interface:SecurityQuestionServiceReturns security question with matching key.- Specified by:
readin interfaceSecurityQuestionService- Parameters:
key- security question key to be read- Returns:
- security question with matching key
-
create
Description copied from interface:SecurityQuestionServiceCreates a new security question.- Specified by:
createin interfaceSecurityQuestionService- Parameters:
securityQuestionTO- security question to be created- Returns:
- Response object featuring Location header of created security question
-
update
Description copied from interface:SecurityQuestionServiceUpdates the security question matching the provided key.- Specified by:
updatein interfaceSecurityQuestionService- Parameters:
securityQuestionTO- security question to be stored
-
delete
Description copied from interface:SecurityQuestionServiceDeletes the security question matching the provided key.- Specified by:
deletein interfaceSecurityQuestionService- Parameters:
key- security question key to be deleted
-
readByUser
Description copied from interface:SecurityQuestionServiceAsk for security question configured for the user matching the given username, if any.- Specified by:
readByUserin interfaceSecurityQuestionService- Parameters:
username- username for which the security question is requested- Returns:
- security question, if configured for the user matching the given username
-