Class ExternalDynamicClientRegistrationService
java.lang.Object
io.jans.service.custom.script.ExternalScriptService
io.jans.as.server.service.external.ExternalDynamicClientRegistrationService
- All Implemented Interfaces:
Serializable
@ApplicationScoped
@Named
public class ExternalDynamicClientRegistrationService
extends io.jans.service.custom.script.ExternalScriptService
Provides factory methods needed to create external dynamic client registration extension
- Author:
- Yuriy Movchan Date: 01/08/2015
- See Also:
-
Field Summary
Fields inherited from class io.jans.service.custom.script.ExternalScriptService
customScriptConfigurations, customScriptConfigurationsNameMap, customScriptManager, customScriptType, defaultExternalCustomScript, loaded, log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
executeExternalCreateClientMethod
(io.jans.model.custom.script.conf.CustomScriptConfiguration customScriptConfiguration, io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client, jakarta.servlet.http.HttpServletRequest httpRequest) boolean
executeExternalCreateClientMethods
(io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client, jakarta.servlet.http.HttpServletRequest httpRequest) boolean
executeExternalUpdateClientMethod
(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.model.custom.script.conf.CustomScriptConfiguration script, io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client) boolean
executeExternalUpdateClientMethods
(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client) getDcrHmacSecret
(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.model.jwt.Jwt dcr) org.json.JSONObject
getDcrJwks
(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.model.jwt.Jwt dcr) getSoftwareStatementHmacSecret
(jakarta.servlet.http.HttpServletRequest httpRequest, org.json.JSONObject registerRequest, io.jans.as.model.jwt.Jwt softwareStatement) org.json.JSONObject
getSoftwareStatementJwks
(jakarta.servlet.http.HttpServletRequest httpRequest, org.json.JSONObject registerRequest, io.jans.as.model.jwt.Jwt softwareStatement) boolean
isCertValidForClient
(X509Certificate cert, DynamicClientRegistrationContext context) boolean
modifyPostResponse
(org.json.JSONObject responseAsJsonObject, ExecutionContext context) boolean
modifyPutResponse
(org.json.JSONObject responseAsJsonObject, ExecutionContext context) boolean
modifyReadResponse
(org.json.JSONObject responseAsJsonObject, ExecutionContext context) Methods inherited from class io.jans.service.custom.script.ExternalScriptService
addExternalConfigurations, clearScriptError, configure, determineDefaultCustomScriptConfiguration, executeExternalGetApiVersion, getCustomScriptConfigurationByName, getCustomScriptConfigurations, getCustomScriptConfigurationsByDns, getCustomScriptType, getDefaultExternalCustomScript, init, isEnabled, isLoaded, reload, reloadExternal, saveScriptError
-
Constructor Details
-
ExternalDynamicClientRegistrationService
public ExternalDynamicClientRegistrationService()
-
-
Method Details
-
executeExternalCreateClientMethod
public boolean executeExternalCreateClientMethod(io.jans.model.custom.script.conf.CustomScriptConfiguration customScriptConfiguration, io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client, jakarta.servlet.http.HttpServletRequest httpRequest) -
executeExternalCreateClientMethods
public boolean executeExternalCreateClientMethods(io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client, jakarta.servlet.http.HttpServletRequest httpRequest) -
executeExternalUpdateClientMethod
public boolean executeExternalUpdateClientMethod(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.model.custom.script.conf.CustomScriptConfiguration script, io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client) -
executeExternalUpdateClientMethods
public boolean executeExternalUpdateClientMethods(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client) -
getSoftwareStatementJwks
public org.json.JSONObject getSoftwareStatementJwks(jakarta.servlet.http.HttpServletRequest httpRequest, org.json.JSONObject registerRequest, io.jans.as.model.jwt.Jwt softwareStatement) -
getSoftwareStatementHmacSecret
public String getSoftwareStatementHmacSecret(jakarta.servlet.http.HttpServletRequest httpRequest, org.json.JSONObject registerRequest, io.jans.as.model.jwt.Jwt softwareStatement) -
getDcrJwks
public org.json.JSONObject getDcrJwks(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.model.jwt.Jwt dcr) -
getDcrHmacSecret
public String getDcrHmacSecret(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.model.jwt.Jwt dcr) -
isCertValidForClient
-
modifyPostResponse
public boolean modifyPostResponse(org.json.JSONObject responseAsJsonObject, ExecutionContext context) -
modifyPutResponse
public boolean modifyPutResponse(org.json.JSONObject responseAsJsonObject, ExecutionContext context) -
modifyReadResponse
public boolean modifyReadResponse(org.json.JSONObject responseAsJsonObject, ExecutionContext context)
-