Configure Seraph Path Service to ignore a URL

Graham Twine _Slm_ February 7, 2021

I have SSO functioning, the login JSP is disabled, however I configure Seraph it attempts to authenticate a path.

 

If I place a static HTML page in the application root directory for my monitoring system to read I would like it to be made public and for Seraph to ignore the path.

 

My Seraph Path configuration

<seraph-paths>
  <path name="admin">
     <url-pattern>/secure/admin/*</url-pattern>
     <role-name>administrators</role-name>
  </path>
  <path name="secured">
     <url-pattern>/secure/*</url-pattern>
     <role-name>licenced-users</role-name>
  </path>
  <path name="bowse">
     <url-pattern>/browse/*</url-pattern>
     <role-name>arPocJiraUser</role-name>
  </path>
  <path name="public">
     <url-pattern>/tomcatisup.html</url-pattern>
     <role-name>permitAll</role-name>
  </path>

</seraph-paths>

 

1 answer

0 votes
Zeyu Wang July 19, 2023

does it work? 

```

  <path name="public">
     <url-pattern>/tomcatisup.html</url-pattern>
     <role-name>permitAll</role-name>
  </path>

```

Graham Twine _Slm_ August 2, 2023

It did not work for me at the time. I used the following approach.

1. Create file $INSTALL_DIR/atlassian-jira/tomcatisup.html

2. Modify the web.xml file. include <welcome-file>tomcatisup.html</welcome-file> to the list of welcome-files

 

I am getting a good response from the server, I see the request in the access log, I see no error in the security log so it works for me.

Like Zeyu Wang likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.12.1
TAGS
AUG Leaders

Atlassian Community Events