Class ExternalScriptContext
- java.lang.Object
-
- io.jans.service.external.context.ExternalScriptContext
-
- io.jans.as.server.service.external.context.ExternalScriptContext
-
- Direct Known Subclasses:
ConsentGatheringContext,DynamicClientRegistrationContext,DynamicScopeExternalContext,EndSessionContext,ExternalIntrospectionContext,ExternalPostAuthnContext,ExternalResourceOwnerPasswordCredentialsContext,ExternalUmaRptClaimsContext,ExternalUpdateTokenContext,ModifySsaResponseContext,SpontaneousScopeExternalContext,UmaAuthorizationContext,UmaGatherContext
public class ExternalScriptContext extends io.jans.service.external.context.ExternalScriptContextHolds object required in custom scripts- Author:
- Yuriy Movchan Date: 07/01/2015
-
-
Constructor Summary
Constructors Constructor Description ExternalScriptContext(ExecutionContext executionContext)ExternalScriptContext(jakarta.servlet.http.HttpServletRequest httpRequest)ExternalScriptContext(jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.resteasy.spi.NoLogWebApplicationExceptioncreateWebApplicationException(int status, String entity)org.jboss.resteasy.spi.NoLogWebApplicationExceptioncreateWebApplicationException(jakarta.ws.rs.core.Response response)AuthzRequestgetAuthzRequest()protected StringgetEntryAttributeValue(String dn, String attributeName)protected io.jans.orm.model.base.CustomEntrygetEntryByDn(String dn, String... ldapReturnAttributes)ExecutionContextgetExecutionContext()io.jans.orm.PersistenceEntryManagergetPersistenceEntryManager()org.jboss.resteasy.spi.NoLogWebApplicationExceptiongetWebApplicationException()booleanisInNetwork(String cidrNotation)voidsetWebApplicationException(org.jboss.resteasy.spi.NoLogWebApplicationException webApplicationException)voidthrowWebApplicationExceptionIfSet()
-
-
-
Constructor Detail
-
ExternalScriptContext
public ExternalScriptContext(ExecutionContext executionContext)
-
ExternalScriptContext
public ExternalScriptContext(jakarta.servlet.http.HttpServletRequest httpRequest)
-
ExternalScriptContext
public ExternalScriptContext(jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse)
-
-
Method Detail
-
getExecutionContext
public ExecutionContext getExecutionContext()
-
getAuthzRequest
public AuthzRequest getAuthzRequest()
-
getPersistenceEntryManager
public io.jans.orm.PersistenceEntryManager getPersistenceEntryManager()
-
isInNetwork
public boolean isInNetwork(String cidrNotation)
-
getEntryByDn
protected io.jans.orm.model.base.CustomEntry getEntryByDn(String dn, String... ldapReturnAttributes)
-
getWebApplicationException
public org.jboss.resteasy.spi.NoLogWebApplicationException getWebApplicationException()
-
setWebApplicationException
public void setWebApplicationException(org.jboss.resteasy.spi.NoLogWebApplicationException webApplicationException)
-
createWebApplicationException
public org.jboss.resteasy.spi.NoLogWebApplicationException createWebApplicationException(jakarta.ws.rs.core.Response response)
-
createWebApplicationException
public org.jboss.resteasy.spi.NoLogWebApplicationException createWebApplicationException(int status, String entity)
-
throwWebApplicationExceptionIfSet
public void throwWebApplicationExceptionIfSet()
-
-