Class OIDCC4UIServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.OIDCC4UIServiceImpl
- All Implemented Interfaces:
JAXRSService
,OIDCC4UIService
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptioncreateLoginRequest
(String redirectURI, String op) Generates OpenID Connect authentication request for the Provider matching the provided op.createLogoutRequest
(String redirectURI) Returns the endSession endpoint for the OP matching the requesting access token.Uses the provided authorization code to go through the OpenID Connect tokens process and finally creates JWT for the matching user, if found.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
-
OIDCC4UIServiceImpl
-
-
Method Details
-
createLoginRequest
Description copied from interface:OIDCC4UIService
Generates OpenID Connect authentication request for the Provider matching the provided op.- Specified by:
createLoginRequest
in interfaceOIDCC4UIService
- Parameters:
redirectURI
- redirect URIop
- OpenID Connect Provider- Returns:
- OpenID Connect authentication request
-
login
Description copied from interface:OIDCC4UIService
Uses the provided authorization code to go through the OpenID Connect tokens process and finally creates JWT for the matching user, if found.- Specified by:
login
in interfaceOIDCC4UIService
- Parameters:
redirectURI
- redirect URIauthorizationCode
- authorization code generated by the remote OpenID Connect Providerop
- OpenID Connect Provider- Returns:
- JWT for the matching user plus attributes returned in the response
-
createLogoutRequest
Description copied from interface:OIDCC4UIService
Returns the endSession endpoint for the OP matching the requesting access token.- Specified by:
createLogoutRequest
in interfaceOIDCC4UIService
- Parameters:
redirectURI
- redirect URI- Returns:
- endSession endpoint for the OP matching the requesting access token
-