Session related

The session related EL expressions are derived from the use case where:

  • A LDAP user has an account template (template-routes) which is:
    • Subscribed to an Advanced Routing application - ba) and assigned:
      • Subscription folder - (/ba)
      • Business unit - (bu)
      • Account home folder - /home/vusers/bu/user
      • Account email address - usert@axway.int
      • LDAP domain - ad

The user logs in over HTTPS and uploads a file partner_certificate.crt in the subscription folder under its home folder.

The following table provides the session related EL expressions from the use case.

Agent Env Variable Routing EL expression Example
DXAGENT_PROTOCOL session.protocol ${session.protocol eq 'http'} - will return true
DXAGENT_PWD=/ session.workDir ${concat(transfer.targetDir.substring(0,1), leadingFolder(session.workDir)) eq transfer.targetDir} - returns true
DXAGENT_PWD_RESOLVED session.workDirFull ${session.workDirFull.substring(13,15) eq account.businessUnit.name} - returns true
DXAGENT_REMOTEADDR session.remoteAddress ${session.remoteAddress eq session.remoteHost}
DXAGENT_REMOTEHOST session.remoteHost

${session.remoteHost.matches('10.*')}

DXAGENT_CLIENT session.streamingClient

${session.streamingClient eq 'httpd'}

${extract(session.streamingClient,'d',1) eq session.protocol}

DXAGENT_SECURE_DATA session.isSSL

${session.isSSL}

${!session.isSSL}

Related topics:

Related Links