Class SAML2SPEntityServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.SAML2SPEntityServiceImpl
-
- All Implemented Interfaces:
JAXRSService
,SAML2SPEntityService
@Service public class SAML2SPEntityServiceImpl extends AbstractService implements SAML2SPEntityService
-
-
Field Summary
Fields Modifier and Type Field Description protected SAML2SPEntityLogic
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 SAML2SPEntityServiceImpl(SAML2SPEntityLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
Delets the SAML 2.0 SP entity matching the given key.SAML2SPEntityTO
get(String key)
Returns the SAML 2.0 SP entity matching the given key.List<SAML2SPEntityTO>
list()
Returns the SAML 2.0 SP entities.void
set(SAML2SPEntityTO entityTO)
Store the entity to finalize the generation process.-
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 SAML2SPEntityLogic logic
-
-
Constructor Detail
-
SAML2SPEntityServiceImpl
public SAML2SPEntityServiceImpl(SAML2SPEntityLogic logic)
-
-
Method Detail
-
list
public List<SAML2SPEntityTO> list()
Description copied from interface:SAML2SPEntityService
Returns the SAML 2.0 SP entities.- Specified by:
list
in interfaceSAML2SPEntityService
- Returns:
- SAML 2.0 SP entities
-
get
public SAML2SPEntityTO get(String key)
Description copied from interface:SAML2SPEntityService
Returns the SAML 2.0 SP entity matching the given key.- Specified by:
get
in interfaceSAML2SPEntityService
- Parameters:
key
- key of requested SAML 2.0 SP entity- Returns:
- SAML 2.0 SP entity with matching key
-
set
public void set(SAML2SPEntityTO entityTO)
Description copied from interface:SAML2SPEntityService
Store the entity to finalize the generation process.- Specified by:
set
in interfaceSAML2SPEntityService
- Parameters:
entityTO
- entity to be created
-
delete
public void delete(String key)
Description copied from interface:SAML2SPEntityService
Delets the SAML 2.0 SP entity matching the given key.- Specified by:
delete
in interfaceSAML2SPEntityService
- Parameters:
key
- key of requested SAML 2.0 SP entity
-
-