Class ConsentGathererService
- java.lang.Object
-
- io.jans.as.server.authorize.ws.rs.ConsentGathererService
-
@RequestScoped @Named("consentGatherer") public class ConsentGathererService extends java.lang.Object
- Author:
- Yuriy Movchan Date: 10/30/2017
-
-
Constructor Summary
Constructors Constructor Description ConsentGathererService()
-
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)
-
-
-
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()
-
getContext
public ConsentGatheringContext getContext()
-
getScopes
public java.util.List<Scope> getScopes()
-
-