Class ExternalUmaClaimsGatheringService
- java.lang.Object
-
- io.jans.service.custom.script.ExternalScriptService
-
- io.jans.as.server.service.external.ExternalUmaClaimsGatheringService
-
- All Implemented Interfaces:
Serializable
@ApplicationScoped @Named public class ExternalUmaClaimsGatheringService extends io.jans.service.custom.script.ExternalScriptService
- Author:
- yuriyz on 06/18/2017.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,io.jans.model.custom.script.conf.CustomScriptConfiguration>
scriptInumMap
-
Constructor Summary
Constructors Constructor Description ExternalUmaClaimsGatheringService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jans.model.custom.script.conf.CustomScriptConfiguration
determineScript(String[] scriptNames)
boolean
gather(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, UmaGatherContext context)
int
getNextStep(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, UmaGatherContext context)
String
getPageForStep(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, UmaGatherContext 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, UmaGatherContext context)
boolean
prepareForStep(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, UmaGatherContext context)
protected void
reloadExternal()
-
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
-
-
-
-
Method Detail
-
reloadExternal
protected void reloadExternal()
- Overrides:
reloadExternal
in classio.jans.service.custom.script.ExternalScriptService
-
determineScript
public io.jans.model.custom.script.conf.CustomScriptConfiguration determineScript(String[] scriptNames)
-
getScriptByDn
public io.jans.model.custom.script.conf.CustomScriptConfiguration getScriptByDn(String scriptDn)
-
getScriptByInum
public io.jans.model.custom.script.conf.CustomScriptConfiguration getScriptByInum(String inum)
-
gather
public boolean gather(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, UmaGatherContext context)
-
getNextStep
public int getNextStep(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, UmaGatherContext context)
-
prepareForStep
public boolean prepareForStep(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, UmaGatherContext context)
-
getStepsCount
public int getStepsCount(io.jans.model.custom.script.conf.CustomScriptConfiguration script, UmaGatherContext context)
-
getPageForStep
public String getPageForStep(io.jans.model.custom.script.conf.CustomScriptConfiguration script, int step, UmaGatherContext context)
-
-