Class UmaGatherContext
- java.lang.Object
-
- io.jans.service.external.context.ExternalScriptContext
-
- io.jans.as.server.service.external.context.ExternalScriptContext
-
- io.jans.as.server.uma.authorization.UmaGatherContext
-
public class UmaGatherContext extends ExternalScriptContext
- Version:
- August 9, 2017
- Author:
- yuriyz
-
-
Constructor Summary
Constructors Constructor Description UmaGatherContext(Map<String,io.jans.model.SimpleCustomProperty> configurationAttributes, jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.common.model.session.SessionId session, UmaSessionService sessionService, UmaPermissionService permissionService, UmaPctService pctService, Map<String,String> pageClaims, io.jans.as.model.configuration.AppConfiguration appConfiguration)
-
Method Summary
-
Methods inherited from class io.jans.as.server.service.external.context.ExternalScriptContext
createWebApplicationException, createWebApplicationException, getEntryAttributeValue, getEntryByDn, getPersistenceEntryManager, getWebApplicationException, isInNetwork, setWebApplicationException, throwWebApplicationExceptionIfSet
-
-
-
-
Constructor Detail
-
UmaGatherContext
public UmaGatherContext(Map<String,io.jans.model.SimpleCustomProperty> configurationAttributes, jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.common.model.session.SessionId session, UmaSessionService sessionService, UmaPermissionService permissionService, UmaPctService pctService, Map<String,String> pageClaims, io.jans.as.model.configuration.AppConfiguration appConfiguration)
-
-
Method Detail
-
getConfigurationAttributes
public Map<String,io.jans.model.SimpleCustomProperty> getConfigurationAttributes()
-
getUser
public io.jans.as.common.model.common.User getUser()
-
getUserDn
public String getUserDn()
-
getClient
public io.jans.as.common.model.registration.Client getClient()
-
isAuthenticated
public boolean isAuthenticated()
-
getStep
public int getStep()
-
setStep
public void setStep(int step)
-
removeSessionAttribute
public void removeSessionAttribute(String key)
-
removeRedirectUserParameter
public void removeRedirectUserParameter(String paramName)
-
getRedirectUserParameters
public RedirectParameters getRedirectUserParameters()
-
getPermissions
public List<io.jans.as.model.uma.persistence.UmaPermission> getPermissions()
-
getClaims
public io.jans.as.model.jwt.JwtClaims getClaims()
-
removeClaim
public void removeClaim(String claimName)
-
hasClaim
public boolean hasClaim(String claimName)
-
persist
public void persist()
Must not take any parameters
-
redirectToExternalUrl
public void redirectToExternalUrl(String url)
-
getRedirectToExternalUrl
public String getRedirectToExternalUrl()
-
getAuthorizationEndpoint
public String getAuthorizationEndpoint()
-
getIssuer
public String getIssuer()
-
getBaseEndpoint
public String getBaseEndpoint()
-
getClaimsGatheringEndpoint
public String getClaimsGatheringEndpoint()
-
-