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 TypeMethodDescriptionbooleanexecuteExternalCreateClientMethod(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) booleanexecuteExternalCreateClientMethods(io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client, jakarta.servlet.http.HttpServletRequest httpRequest) booleanexecuteExternalUpdateClientMethod(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) booleanexecuteExternalUpdateClientMethods(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.JSONObjectgetDcrJwks(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.JSONObjectgetSoftwareStatementJwks(jakarta.servlet.http.HttpServletRequest httpRequest, org.json.JSONObject registerRequest, io.jans.as.model.jwt.Jwt softwareStatement) booleanisCertValidForClient(X509Certificate cert, DynamicClientRegistrationContext context) booleanmodifyPostResponse(org.json.JSONObject responseAsJsonObject, ExecutionContext context) booleanmodifyPutResponse(org.json.JSONObject responseAsJsonObject, ExecutionContext context) booleanmodifyReadResponse(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)
-