URL Exclusion list in J2EE Policy Agent for Tomcat

This topic has 1 reply, 2 voices, and was last updated 6 years, 2 months ago by Mark de Reeper.

  • Author
    Posts
  • #11504
     Jitendra Niberiya
    Participant

    Hi All,

    Is there a way of defining the URLs or regex for excluding the desired paths so that the agent doesn’t intercept them for authentication?

    In my OpenIG’s web.xml i have the following config for filter
    ———————–
    <!– Added for OpenIG Tomcat Filter–>
    <filter>
    <filter-name>Agent</filter-name>
    <display-name>Agent</display-name>
    <description>OpenAM Policy Agent Filter</description>
    <filter-class>com.sun.identity.agents.filter.AmAgentFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>Agent</filter-name>
    <!– <url-pattern>/*</url-pattern> –>
    <!– <url-pattern>/../*</url-pattern> –>
    <url-pattern>/teamserver</url-pattern>
    <url-pattern>/decisioncenter</url-pattern>
    <url-pattern>/decisioncenter/t</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>ERROR</dispatcher>
    </filter-mapping>
    <!– OpenIG Filter END –>
    ———————–

    Thanks,
    Jitendra

    #11949
     Mark de Reeper
    Participant

    Hi Jitendra,

    The web.xml mappings are limited to what can be specified in the URL pattern, might be better to leave it as * and then look at the not-enforced functionality that can be specified in the agents configuration – https://backstage.forgerock.com/#!/docs/openam/13/admin-guide/chap-agents#j2ee-agent-not-enforced-uri-properties

    Thanks

    Mark

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?