Class OIDCC4UIProviderServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.OIDCC4UIProviderServiceImpl
-
- All Implemented Interfaces:
JAXRSService
,OIDCC4UIProviderService
@Service public class OIDCC4UIProviderServiceImpl extends AbstractService implements OIDCC4UIProviderService
-
-
Field Summary
Fields Modifier and Type Field Description protected OIDCC4UIProviderLogic
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 OIDCC4UIProviderServiceImpl(OIDCC4UIProviderLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
create(OIDCC4UIProviderTO oidcProviderTO)
Creates a new OIDC Provider.javax.ws.rs.core.Response
createFromDiscovery(OIDCC4UIProviderTO oidcProviderTO)
Creates a new OIDC Provider by using its Discovery Document.void
delete(String key)
Deletes the OIDC Provider with matching key.List<OIDCC4UIProviderTO>
list()
Returns a list of all defined OIDC Providers.OIDCC4UIProviderTO
read(String key)
Returns the OIDC Provider with matching key, if available.void
update(OIDCC4UIProviderTO oidcProviderTO)
Updates the OIDC Provider with matching 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 OIDCC4UIProviderLogic logic
-
-
Constructor Detail
-
OIDCC4UIProviderServiceImpl
public OIDCC4UIProviderServiceImpl(OIDCC4UIProviderLogic logic)
-
-
Method Detail
-
create
public javax.ws.rs.core.Response create(OIDCC4UIProviderTO oidcProviderTO)
Description copied from interface:OIDCC4UIProviderService
Creates a new OIDC Provider.- Specified by:
create
in interfaceOIDCC4UIProviderService
- Parameters:
oidcProviderTO
- OpenID Connect Provider configuration to be stored- Returns:
- Response object featuring Location header of created OIDC Provider
-
createFromDiscovery
public javax.ws.rs.core.Response createFromDiscovery(OIDCC4UIProviderTO oidcProviderTO)
Description copied from interface:OIDCC4UIProviderService
Creates a new OIDC Provider by using its Discovery Document.- Specified by:
createFromDiscovery
in interfaceOIDCC4UIProviderService
- Parameters:
oidcProviderTO
- OpenID Connect Provider configuration to be stored- Returns:
- Response object featuring Location header of created OIDC Provider
-
list
public List<OIDCC4UIProviderTO> list()
Description copied from interface:OIDCC4UIProviderService
Returns a list of all defined OIDC Providers.- Specified by:
list
in interfaceOIDCC4UIProviderService
- Returns:
- list of all defined OIDC Providers
-
read
public OIDCC4UIProviderTO read(String key)
Description copied from interface:OIDCC4UIProviderService
Returns the OIDC Provider with matching key, if available.- Specified by:
read
in interfaceOIDCC4UIProviderService
- Parameters:
key
- OIDC Provider's key- Returns:
- OIDC Providers with matching key, if available
-
update
public void update(OIDCC4UIProviderTO oidcProviderTO)
Description copied from interface:OIDCC4UIProviderService
Updates the OIDC Provider with matching key.- Specified by:
update
in interfaceOIDCC4UIProviderService
- Parameters:
oidcProviderTO
- OpenID Connect Provider configuration to be stored
-
delete
public void delete(String key)
Description copied from interface:OIDCC4UIProviderService
Deletes the OIDC Provider with matching key.- Specified by:
delete
in interfaceOIDCC4UIProviderService
- Parameters:
key
- OIDC Provider key
-
-