Class ExternalIntrospectionContext
- java.lang.Object
-
- io.jans.service.external.context.ExternalScriptContext
-
- io.jans.as.server.service.external.context.ExternalScriptContext
-
- io.jans.as.server.service.external.context.ExternalIntrospectionContext
-
public class ExternalIntrospectionContext extends ExternalScriptContext
- Author:
- Yuriy Zabrovarnyy
-
-
Constructor Summary
Constructors Constructor Description ExternalIntrospectionContext(AuthorizationGrant tokenGrant, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.common.service.AttributeService attributeService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jans.as.model.jwt.Jwt
getAccessTokenAsJwt()
io.jans.as.model.configuration.AppConfiguration
getAppConfiguration()
io.jans.as.common.service.AttributeService
getAttributeService()
AuthorizationGrant
getGrantOfIntrospectionToken()
io.jans.model.custom.script.conf.CustomScriptConfiguration
getScript()
AuthorizationGrant
getTokenGrant()
io.jans.as.common.model.common.User
getUser()
boolean
isTranferIntrospectionPropertiesIntoJwtClaims()
void
setAccessTokenAsJwt(io.jans.as.model.jwt.Jwt accessTokenAsJwt)
void
setGrantOfIntrospectionToken(AuthorizationGrant grantOfIntrospectionToken)
void
setScript(io.jans.model.custom.script.conf.CustomScriptConfiguration script)
void
setTranferIntrospectionPropertiesIntoJwtClaims(boolean tranferIntrospectionPropertiesIntoJwtClaims)
-
Methods inherited from class io.jans.as.server.service.external.context.ExternalScriptContext
createWebApplicationException, getEntryAttributeValue, getEntryByDn, getPersistenceEntryManager, getWebApplicationException, isInNetwork, setWebApplicationException, throwWebApplicationExceptionIfSet
-
-
-
-
Constructor Detail
-
ExternalIntrospectionContext
public ExternalIntrospectionContext(AuthorizationGrant tokenGrant, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.common.service.AttributeService attributeService)
-
-
Method Detail
-
getTokenGrant
public AuthorizationGrant getTokenGrant()
-
getAppConfiguration
public io.jans.as.model.configuration.AppConfiguration getAppConfiguration()
-
getAttributeService
public io.jans.as.common.service.AttributeService getAttributeService()
-
getScript
public io.jans.model.custom.script.conf.CustomScriptConfiguration getScript()
-
setScript
public void setScript(io.jans.model.custom.script.conf.CustomScriptConfiguration script)
-
getAccessTokenAsJwt
public io.jans.as.model.jwt.Jwt getAccessTokenAsJwt()
-
setAccessTokenAsJwt
public void setAccessTokenAsJwt(io.jans.as.model.jwt.Jwt accessTokenAsJwt)
-
isTranferIntrospectionPropertiesIntoJwtClaims
public boolean isTranferIntrospectionPropertiesIntoJwtClaims()
-
setTranferIntrospectionPropertiesIntoJwtClaims
public void setTranferIntrospectionPropertiesIntoJwtClaims(boolean tranferIntrospectionPropertiesIntoJwtClaims)
-
getGrantOfIntrospectionToken
public AuthorizationGrant getGrantOfIntrospectionToken()
-
setGrantOfIntrospectionToken
public void setGrantOfIntrospectionToken(AuthorizationGrant grantOfIntrospectionToken)
-
getUser
public io.jans.as.common.model.common.User getUser()
-
-