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 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, String summary)
boolean
authorize()
boolean
configure(String userDn, String clientId, String state)
ConsentGatheringContext
getContext()
Map<String,String>
getPageAttributes()
List<Scope>
getScopes()
protected io.jans.model.custom.script.conf.CustomScriptConfiguration
getScript(io.jans.as.common.model.session.SessionId session)
boolean
isConsentGathered()
String
prepareForStep()
String
result(String resultCode)
-
-
-
Method Detail
-
authorize
public boolean authorize()
-
prepareForStep
public String prepareForStep()
-
addMessage
public void addMessage(jakarta.faces.application.FacesMessage.Severity severity, String summary)
-
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()
-
-