Class UmaAuthorizationContext
java.lang.Object
org.gluu.service.external.context.ExternalScriptContext
org.gluu.oxauth.service.external.context.ExternalScriptContext
org.gluu.oxauth.uma.authorization.UmaAuthorizationContext
- Author:
- Yuriy Zabrovarnyy, Javier Rojas Blum, Yuriy Movchan
-
Field Summary
Fields inherited from class org.gluu.service.external.context.ExternalScriptContext
httpRequest, httpResponse -
Constructor Summary
ConstructorsConstructorDescriptionUmaAuthorizationContext(AppConfiguration configuration, AttributeService attributeService, Map<Scope, Boolean> scopes, Set<UmaResource> resources, Claims claims, String scriptDn, javax.servlet.http.HttpServletRequest httpRequest, Map<String, org.gluu.model.SimpleCustomProperty> configurationAttributes, UmaSessionService sessionService, UserService userService, UmaPermissionService permissionService, Client client) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRedirectUserParam(String paramName, String paramValue) getClaimTokenClaim(String key) getPctClaim(String key) booleanbooleanvoidvoidremoveClaim(String claimName) voidremoveRedirectUserParameter(String paramName) Methods inherited from class org.gluu.oxauth.service.external.context.ExternalScriptContext
createWebApplicationException, createWebApplicationException, getEntryAttributeValue, getEntryByDn, getExecutionContext, getPersistenceEntryManager, getWebApplicationException, isInNetwork, setWebApplicationException, throwWebApplicationExceptionIfSetMethods inherited from class org.gluu.service.external.context.ExternalScriptContext
getContextVariables, getHttpRequest, getHttpResponse, getIpAddress, getLog
-
Constructor Details
-
UmaAuthorizationContext
public UmaAuthorizationContext(AppConfiguration configuration, AttributeService attributeService, Map<Scope, Boolean> scopes, Set<UmaResource> resources, Claims claims, String scriptDn, javax.servlet.http.HttpServletRequest httpRequest, Map<String, org.gluu.model.SimpleCustomProperty> configurationAttributes, UmaSessionService sessionService, UserService userService, UmaPermissionService permissionService, Client client)
-
-
Method Details
-
getClaimToken
-
getClaimTokenClaim
-
getPctClaim
-
getIssuer
-
getScriptDn
-
getConfigurationAttributes
-
getScopes
-
getScriptScopes
- Returns:
- scopes that are bound to currently executed script
-
getScopeMap
-
getResources
-
getResourceIds
-
getClaims
-
getClaim
-
putClaim
-
hasClaim
-
removeClaim
-
addRedirectUserParam
-
removeRedirectUserParameter
-
getRedirectUserParameters
-
getRedirectUserParametersMap
-
getUser
-
isAuthenticated
public boolean isAuthenticated() -
getUserDn
-
getClient
-
getPermissions
-