Class ExternalScriptContext

    • 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

      • 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)
      • getEntryAttributeValue

        protected String getEntryAttributeValue​(String dn,
                                                String attributeName)
      • 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()