Class ConsentGathererService


  • @RequestScoped
    @Named("consentGatherer")
    public class ConsentGathererService
    extends java.lang.Object
    Author:
    Yuriy Movchan Date: 10/30/2017
    • 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​(javax.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​(SessionId session)
      • isConsentGathered

        public boolean isConsentGathered()
      • getScopes

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