Class ExternalConsentGatheringService

java.lang.Object
org.gluu.service.custom.script.ExternalScriptService
org.gluu.oxauth.service.external.ExternalConsentGatheringService
All Implemented Interfaces:
Serializable

@ApplicationScoped public class ExternalConsentGatheringService extends org.gluu.service.custom.script.ExternalScriptService
Author:
Yuriy Movchan Date: 10/30/2017
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Map<String,org.gluu.model.custom.script.conf.CustomScriptConfiguration>
     

    Fields inherited from class org.gluu.service.custom.script.ExternalScriptService

    customScriptConfigurations, customScriptConfigurationsNameMap, customScriptManager, customScriptType, defaultExternalCustomScript, loaded
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    authorize(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)
     
    int
    getNextStep(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)
     
    getPageForStep(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)
     
    org.gluu.model.custom.script.conf.CustomScriptConfiguration
     
    org.gluu.model.custom.script.conf.CustomScriptConfiguration
     
    int
    getStepsCount(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, ConsentGatheringContext context)
     
    boolean
    prepareForStep(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)
     
    protected void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • scriptInumMap

      protected Map<String,org.gluu.model.custom.script.conf.CustomScriptConfiguration> scriptInumMap
  • Constructor Details

    • ExternalConsentGatheringService

      public ExternalConsentGatheringService()
  • Method Details

    • reloadExternal

      protected void reloadExternal()
      Overrides:
      reloadExternal in class org.gluu.service.custom.script.ExternalScriptService
    • getScriptByDn

      public org.gluu.model.custom.script.conf.CustomScriptConfiguration getScriptByDn(String scriptDn)
    • getScriptByInum

      public org.gluu.model.custom.script.conf.CustomScriptConfiguration getScriptByInum(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 String getPageForStep(org.gluu.model.custom.script.conf.CustomScriptConfiguration script, int step, ConsentGatheringContext context)