Class ConsentGathererService

java.lang.Object
io.jans.as.server.authorize.ws.rs.ConsentGathererService

@RequestScoped @Named("consentGatherer") public class ConsentGathererService extends Object
Author:
Yuriy Movchan Date: 10/30/2017
  • Constructor Details

    • ConsentGathererService

      public ConsentGathererService()
  • Method Details

    • configure

      public boolean configure(String userDn, String clientId, String state, List<String> acrValues)
    • findConsentScriptByAcr

      public io.jans.model.custom.script.conf.CustomScriptConfiguration findConsentScriptByAcr(List<String> acrValues)
    • authorize

      public boolean authorize()
    • prepareForStep

      public String prepareForStep()
    • result

      public String result(String resultCode)
    • addMessage

      public void addMessage(jakarta.faces.application.FacesMessage.Severity severity, String summary)
    • getPageAttributes

      public Map<String,String> getPageAttributes()
    • getScript

      protected io.jans.model.custom.script.conf.CustomScriptConfiguration getScript(io.jans.as.common.model.session.SessionId session)
    • isConsentGathered

      public boolean isConsentGathered()
    • getContext

      public ConsentGatheringContext getContext()
    • getScopes

      public List<Scope> getScopes()