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.ExternalScriptContext
Holds 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.NoLogWebApplicationException
createWebApplicationException(int status, String entity)
org.jboss.resteasy.spi.NoLogWebApplicationException
createWebApplicationException(jakarta.ws.rs.core.Response response)
io.jans.as.model.authzdetails.AuthzDetail
getAuthzDetail()
AuthzRequest
getAuthzRequest()
protected String
getEntryAttributeValue(String dn, String attributeName)
protected io.jans.orm.model.base.CustomEntry
getEntryByDn(String dn, String... ldapReturnAttributes)
ExecutionContext
getExecutionContext()
io.jans.orm.PersistenceEntryManager
getPersistenceEntryManager()
org.jboss.resteasy.spi.NoLogWebApplicationException
getWebApplicationException()
boolean
isInNetwork(String cidrNotation)
void
setWebApplicationException(org.jboss.resteasy.spi.NoLogWebApplicationException webApplicationException)
void
throwWebApplicationExceptionIfSet()
-
-
-
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()
-
getAuthzDetail
public io.jans.as.model.authzdetails.AuthzDetail getAuthzDetail()
-
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()
-
-