Class ConsentGathererService


  • @RequestScoped
    @Named("consentGatherer")
    public class ConsentGathererService
    extends java.lang.Object
    Author:
    Yuriy Movchan Date: 10/30/2017
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMessage​(jakarta.faces.application.FacesMessage.Severity severity, java.lang.String summary)  
      boolean authorize()  
      boolean configure​(java.lang.String userDn, java.lang.String clientId, java.lang.String state)  
      ConsentGatheringContext getContext()  
      java.util.Map<java.lang.String,​java.lang.String> getPageAttributes()  
      java.util.List<Scope> getScopes()  
      protected io.jans.model.custom.script.conf.CustomScriptConfiguration getScript​(io.jans.as.common.model.session.SessionId session)  
      boolean isConsentGathered()  
      java.lang.String prepareForStep()  
      java.lang.String result​(java.lang.String resultCode)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsentGathererService

        public ConsentGathererService()
    • Method Detail

      • configure

        public boolean configure​(java.lang.String userDn,
                                 java.lang.String clientId,
                                 java.lang.String state)
      • authorize

        public boolean authorize()
      • prepareForStep

        public java.lang.String prepareForStep()
      • result

        public java.lang.String result​(java.lang.String resultCode)
      • addMessage

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

        public java.util.Map<java.lang.String,​java.lang.String> getPageAttributes()
      • getScript

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

        public boolean isConsentGathered()
      • getScopes

        public java.util.List<Scope> getScopes()