Class ExternalConsentGatheringService
java.lang.Object
io.jans.service.custom.script.ExternalScriptService
io.jans.as.server.service.external.ExternalConsentGatheringService
- All Implemented Interfaces:
Serializable
@ApplicationScoped
@Named
public class ExternalConsentGatheringService
extends io.jans.service.custom.script.ExternalScriptService
- Author:
- Yuriy Movchan Date: 10/30/2017
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class io.jans.service.custom.script.ExternalScriptService
customScriptConfigurations, customScriptConfigurationsNameMap, customScriptManager, customScriptType, defaultExternalCustomScript, loaded, log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
authorize
(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context) int
getNextStep
(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context) getPageForStep
(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context) io.jans.model.custom.script.conf.CustomScriptConfiguration
getScriptByDn
(String scriptDn) io.jans.model.custom.script.conf.CustomScriptConfiguration
getScriptByInum
(String inum) int
getStepsCount
(io.jans.model.custom.script.conf.CustomScriptConfiguration script, ConsentGatheringContext context) boolean
prepareForStep
(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context) protected void
Methods inherited from class io.jans.service.custom.script.ExternalScriptService
addExternalConfigurations, clearScriptError, configure, determineDefaultCustomScriptConfiguration, executeExternalGetApiVersion, getCustomScriptConfigurationByName, getCustomScriptConfigurations, getCustomScriptConfigurationsByDns, getCustomScriptType, getDefaultExternalCustomScript, init, isEnabled, isLoaded, reload, saveScriptError
-
Field Details
-
scriptInumMap
-
-
Constructor Details
-
ExternalConsentGatheringService
public ExternalConsentGatheringService()
-
-
Method Details
-
reloadExternal
protected void reloadExternal()- Overrides:
reloadExternal
in classio.jans.service.custom.script.ExternalScriptService
-
getScriptByDn
-
getScriptByInum
-
authorize
public boolean authorize(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context) -
getNextStep
public int getNextStep(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context) -
prepareForStep
public boolean prepareForStep(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context) -
getStepsCount
public int getStepsCount(io.jans.model.custom.script.conf.CustomScriptConfiguration script, ConsentGatheringContext context) -
getPageForStep
public String getPageForStep(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)
-