Package io.jans.as.server.uma.service
Class UmaSessionService
- java.lang.Object
-
- io.jans.as.server.uma.service.UmaSessionService
-
@Named public class UmaSessionService extends java.lang.Object
- Version:
- December 8, 2018
- Author:
- yuriyz
-
-
Constructor Summary
Constructors Constructor Description UmaSessionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(io.jans.as.common.model.session.SessionId session, java.lang.String scriptName, java.util.List<io.jans.as.model.uma.persistence.UmaPermission> permissions, java.lang.String clientId, java.lang.String claimRedirectUri, java.lang.String state)
java.lang.String
getClaimsRedirectUri(io.jans.as.common.model.session.SessionId session)
io.jans.as.common.model.registration.Client
getClient(io.jans.as.common.model.session.SessionId session)
java.lang.String
getClientId(io.jans.as.common.model.session.SessionId session)
io.jans.as.common.model.session.SessionId
getConnectSession(jakarta.servlet.http.HttpServletRequest httpRequest)
java.lang.String
getPct(io.jans.as.common.model.session.SessionId session)
java.lang.String
getScriptName(io.jans.as.common.model.session.SessionId session)
io.jans.as.common.model.session.SessionId
getSession(jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse)
java.lang.String
getState(io.jans.as.common.model.session.SessionId session)
int
getStep(io.jans.as.common.model.session.SessionId session)
java.lang.String
getTicket(io.jans.as.common.model.session.SessionId session)
io.jans.as.common.model.common.User
getUser(jakarta.servlet.http.HttpServletRequest httpRequest)
java.lang.String
getUserDn(jakarta.servlet.http.HttpServletRequest httpRequest)
boolean
isPassedPreviousSteps(io.jans.as.common.model.session.SessionId session, java.lang.Integer step)
boolean
isStepPassed(io.jans.as.common.model.session.SessionId session, java.lang.Integer step)
void
markStep(io.jans.as.common.model.session.SessionId session, java.lang.Integer step, boolean value)
boolean
persist(io.jans.as.common.model.session.SessionId session)
void
resetToStep(io.jans.as.common.model.session.SessionId session, int overridenNextStep, int step)
void
setClaimsRedirectUri(io.jans.as.common.model.session.SessionId session, java.lang.String claimsRedirectUri)
void
setClientId(io.jans.as.common.model.session.SessionId session, java.lang.String clientId)
void
setPct(io.jans.as.common.model.session.SessionId session, java.lang.String pct)
void
setScriptName(io.jans.as.common.model.session.SessionId session, java.lang.String scriptName)
void
setState(io.jans.as.common.model.session.SessionId session, java.lang.String state)
void
setStep(int step, io.jans.as.common.model.session.SessionId session)
void
setTicket(io.jans.as.common.model.session.SessionId session, java.lang.String ticket)
-
-
-
Method Detail
-
getConnectSession
public io.jans.as.common.model.session.SessionId getConnectSession(jakarta.servlet.http.HttpServletRequest httpRequest)
-
getSession
public io.jans.as.common.model.session.SessionId getSession(jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse)
-
persist
public boolean persist(io.jans.as.common.model.session.SessionId session)
-
getStep
public int getStep(io.jans.as.common.model.session.SessionId session)
-
setStep
public void setStep(int step, io.jans.as.common.model.session.SessionId session)
-
configure
public void configure(io.jans.as.common.model.session.SessionId session, java.lang.String scriptName, java.util.List<io.jans.as.model.uma.persistence.UmaPermission> permissions, java.lang.String clientId, java.lang.String claimRedirectUri, java.lang.String state)
-
isStepPassed
public boolean isStepPassed(io.jans.as.common.model.session.SessionId session, java.lang.Integer step)
-
isPassedPreviousSteps
public boolean isPassedPreviousSteps(io.jans.as.common.model.session.SessionId session, java.lang.Integer step)
-
markStep
public void markStep(io.jans.as.common.model.session.SessionId session, java.lang.Integer step, boolean value)
-
getScriptName
public java.lang.String getScriptName(io.jans.as.common.model.session.SessionId session)
-
setScriptName
public void setScriptName(io.jans.as.common.model.session.SessionId session, java.lang.String scriptName)
-
getPct
public java.lang.String getPct(io.jans.as.common.model.session.SessionId session)
-
setPct
public void setPct(io.jans.as.common.model.session.SessionId session, java.lang.String pct)
-
getClientId
public java.lang.String getClientId(io.jans.as.common.model.session.SessionId session)
-
setClientId
public void setClientId(io.jans.as.common.model.session.SessionId session, java.lang.String clientId)
-
getClaimsRedirectUri
public java.lang.String getClaimsRedirectUri(io.jans.as.common.model.session.SessionId session)
-
setClaimsRedirectUri
public void setClaimsRedirectUri(io.jans.as.common.model.session.SessionId session, java.lang.String claimsRedirectUri)
-
getState
public java.lang.String getState(io.jans.as.common.model.session.SessionId session)
-
setState
public void setState(io.jans.as.common.model.session.SessionId session, java.lang.String state)
-
getTicket
public java.lang.String getTicket(io.jans.as.common.model.session.SessionId session)
-
setTicket
public void setTicket(io.jans.as.common.model.session.SessionId session, java.lang.String ticket)
-
resetToStep
public void resetToStep(io.jans.as.common.model.session.SessionId session, int overridenNextStep, int step)
-
getUser
public io.jans.as.common.model.common.User getUser(jakarta.servlet.http.HttpServletRequest httpRequest)
-
getUserDn
public java.lang.String getUserDn(jakarta.servlet.http.HttpServletRequest httpRequest)
-
getClient
public io.jans.as.common.model.registration.Client getClient(io.jans.as.common.model.session.SessionId session)
-
-