Package org.gluu.oxauth.service.external
Class ExternalConsentGatheringService
- java.lang.Object
-
- org.gluu.service.custom.script.ExternalScriptService
-
- org.gluu.oxauth.service.external.ExternalConsentGatheringService
-
- All Implemented Interfaces:
java.io.Serializable
@ApplicationScoped public class ExternalConsentGatheringService extends org.gluu.service.custom.script.ExternalScriptService- Author:
- Yuriy Movchan Date: 10/30/2017
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,org.gluu.model.custom.script.conf.CustomScriptConfiguration>scriptInumMap
-
Constructor Summary
Constructors Constructor Description ExternalConsentGatheringService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanauthorize(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)intgetNextStep(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)java.lang.StringgetPageForStep(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)org.gluu.model.custom.script.conf.CustomScriptConfigurationgetScriptByDn(java.lang.String scriptDn)org.gluu.model.custom.script.conf.CustomScriptConfigurationgetScriptByInum(java.lang.String inum)intgetStepsCount(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ConsentGatheringContext context)booleanprepareForStep(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)protected voidreloadExternal()-
Methods inherited from class org.gluu.service.custom.script.ExternalScriptService
addExternalConfigurations, clearScriptError, configure, determineDefaultCustomScriptConfiguration, executeExternalGetApiVersion, getCustomScriptConfigurationByName, getCustomScriptConfigurations, getCustomScriptConfigurationsByDns, getCustomScriptType, getDefaultExternalCustomScript, init, isEnabled, isLoaded, reload, saveScriptError
-
-
-
-
Method Detail
-
reloadExternal
protected void reloadExternal()
- Overrides:
reloadExternalin classorg.gluu.service.custom.script.ExternalScriptService
-
getScriptByDn
public org.gluu.model.custom.script.conf.CustomScriptConfiguration getScriptByDn(java.lang.String scriptDn)
-
getScriptByInum
public org.gluu.model.custom.script.conf.CustomScriptConfiguration getScriptByInum(java.lang.String inum)
-
authorize
public boolean authorize(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)
-
getNextStep
public int getNextStep(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)
-
prepareForStep
public boolean prepareForStep(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)
-
getStepsCount
public int getStepsCount(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ConsentGatheringContext context)
-
getPageForStep
public java.lang.String getPageForStep(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)
-
-