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
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 TypeMethodDescriptionvoidbackChannelLogout(String logoutToken, String redirectURI) Removes the JWT matching the provided OIDC logout token.createLoginRequest(String redirectURI, String op, boolean reauth) 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:OIDCC4UIServiceGenerates OpenID Connect authentication request for the Provider matching the provided op.- Specified by:
createLoginRequestin interfaceOIDCC4UIService- Parameters:
redirectURI- redirect URIop- OpenID Connect Providerreauth- whether max_age=0 and prompt=login shall be set on the request- Returns:
- OpenID Connect authentication request
-
login
Description copied from interface:OIDCC4UIServiceUses the provided authorization code to go through the OpenID Connect tokens process and finally creates JWT for the matching user, if found.- Specified by:
loginin 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:OIDCC4UIServiceReturns the endSession endpoint for the OP matching the requesting access token.- Specified by:
createLogoutRequestin interfaceOIDCC4UIService- Parameters:
redirectURI- redirect URI- Returns:
- endSession endpoint for the OP matching the requesting access token
-
backChannelLogout
Description copied from interface:OIDCC4UIServiceRemoves the JWT matching the provided OIDC logout token.- Specified by:
backChannelLogoutin interfaceOIDCC4UIService- Parameters:
logoutToken- logout tokenredirectURI- redirect URI
-