The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Configure Seraph Path Service to ignore a URL

Graham Twine
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
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
DEPLOYMENT TYPE
SERVER
VERSION
8.12.1
TAGS
AUG Leaders

Atlassian Community Events