Class ExternalDynamicClientRegistrationService
- java.lang.Object
-
- io.jans.service.custom.script.ExternalScriptService
-
- io.jans.as.server.service.external.ExternalDynamicClientRegistrationService
-
- All Implemented Interfaces:
java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalDynamicClientRegistrationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
executeExternalCreateClientMethod(io.jans.model.custom.script.conf.CustomScriptConfiguration customScriptConfiguration, io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client, javax.servlet.http.HttpServletRequest httpRequest)
boolean
executeExternalCreateClientMethods(io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client, javax.servlet.http.HttpServletRequest httpRequest)
boolean
executeExternalUpdateClientMethod(javax.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(javax.servlet.http.HttpServletRequest httpRequest, io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client)
java.lang.String
getDcrHmacSecret(javax.servlet.http.HttpServletRequest httpRequest, io.jans.as.model.jwt.Jwt dcr)
org.json.JSONObject
getDcrJwks(javax.servlet.http.HttpServletRequest httpRequest, io.jans.as.model.jwt.Jwt dcr)
java.lang.String
getSoftwareStatementHmacSecret(javax.servlet.http.HttpServletRequest httpRequest, org.json.JSONObject registerRequest, io.jans.as.model.jwt.Jwt softwareStatement)
org.json.JSONObject
getSoftwareStatementJwks(javax.servlet.http.HttpServletRequest httpRequest, org.json.JSONObject registerRequest, io.jans.as.model.jwt.Jwt softwareStatement)
boolean
isCertValidForClient(java.security.cert.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
-
-
-
-
Method Detail
-
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, javax.servlet.http.HttpServletRequest httpRequest)
-
executeExternalCreateClientMethods
public boolean executeExternalCreateClientMethods(io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client, javax.servlet.http.HttpServletRequest httpRequest)
-
executeExternalUpdateClientMethod
public boolean executeExternalUpdateClientMethod(javax.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(javax.servlet.http.HttpServletRequest httpRequest, io.jans.as.client.RegisterRequest registerRequest, io.jans.as.common.model.registration.Client client)
-
getSoftwareStatementJwks
public org.json.JSONObject getSoftwareStatementJwks(javax.servlet.http.HttpServletRequest httpRequest, org.json.JSONObject registerRequest, io.jans.as.model.jwt.Jwt softwareStatement)
-
getSoftwareStatementHmacSecret
public java.lang.String getSoftwareStatementHmacSecret(javax.servlet.http.HttpServletRequest httpRequest, org.json.JSONObject registerRequest, io.jans.as.model.jwt.Jwt softwareStatement)
-
getDcrJwks
public org.json.JSONObject getDcrJwks(javax.servlet.http.HttpServletRequest httpRequest, io.jans.as.model.jwt.Jwt dcr)
-
getDcrHmacSecret
public java.lang.String getDcrHmacSecret(javax.servlet.http.HttpServletRequest httpRequest, io.jans.as.model.jwt.Jwt dcr)
-
isCertValidForClient
public boolean isCertValidForClient(java.security.cert.X509Certificate cert, DynamicClientRegistrationContext context)
-
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)
-
-