Class SAML2SP4UIIdPServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.SAML2SP4UIIdPServiceImpl
-
- All Implemented Interfaces:
JAXRSService
,SAML2SP4UIIdPService
@Service public class SAML2SP4UIIdPServiceImpl extends AbstractService implements SAML2SP4UIIdPService
-
-
Field Summary
Fields Modifier and Type Field Description protected SAML2SP4UIIdPLogic
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 SAML2SP4UIIdPServiceImpl(SAML2SP4UIIdPLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
Deletes the SAML 2.0 Identity Provider with matching entityID.javax.ws.rs.core.Response
importFromMetadata(InputStream input)
Imports the SAML 2.0 Identity Provider definitions available in the provided XML metadata.List<SAML2SP4UIIdPTO>
list()
Returns a list of all defined SAML 2.0 Identity Providers.SAML2SP4UIIdPTO
read(String key)
Returns the SAML 2.0 Identity Provider with matching entityID, if available.void
update(SAML2SP4UIIdPTO saml2IdpTO)
Updates the SAML 2.0 Identity Provider with matching entityID.-
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 SAML2SP4UIIdPLogic logic
-
-
Constructor Detail
-
SAML2SP4UIIdPServiceImpl
public SAML2SP4UIIdPServiceImpl(SAML2SP4UIIdPLogic logic)
-
-
Method Detail
-
list
public List<SAML2SP4UIIdPTO> list()
Description copied from interface:SAML2SP4UIIdPService
Returns a list of all defined SAML 2.0 Identity Providers.- Specified by:
list
in interfaceSAML2SP4UIIdPService
- Returns:
- list of all defined SAML 2.0 Identity Providers
-
read
public SAML2SP4UIIdPTO read(String key)
Description copied from interface:SAML2SP4UIIdPService
Returns the SAML 2.0 Identity Provider with matching entityID, if available.- Specified by:
read
in interfaceSAML2SP4UIIdPService
- Parameters:
key
- SAML 2.0 Identity Provider's entityID- Returns:
- SAML 2.0 Identity Provider with matching entityID, if available
-
importFromMetadata
public javax.ws.rs.core.Response importFromMetadata(InputStream input)
Description copied from interface:SAML2SP4UIIdPService
Imports the SAML 2.0 Identity Provider definitions available in the provided XML metadata.- Specified by:
importFromMetadata
in interfaceSAML2SP4UIIdPService
- Parameters:
input
- XML metadata- Returns:
- the entityID values for all imported SAML 2.0 Identity Providers
-
update
public void update(SAML2SP4UIIdPTO saml2IdpTO)
Description copied from interface:SAML2SP4UIIdPService
Updates the SAML 2.0 Identity Provider with matching entityID.- Specified by:
update
in interfaceSAML2SP4UIIdPService
- Parameters:
saml2IdpTO
- idp configuration to be stored
-
delete
public void delete(String key)
Description copied from interface:SAML2SP4UIIdPService
Deletes the SAML 2.0 Identity Provider with matching entityID.- Specified by:
delete
in interfaceSAML2SP4UIIdPService
- Parameters:
key
- SAML 2.0 Identity Provider's entityID
-
-