Yes. Follow the Servlet Filter Configuration Instructions.
Tested with Jira 7.6.3
- Deploy libs into tomcat's lib or application's
WEB-INF/lib
.- slf4j-1.7.22.jar can be excluded as a newer version is bundled with JIRA.
- Update
WEB-INF/web.xml
withfilter
andfilter-mapping
.- Place the 'filter' before the last filter of JIRA, ie.
JiraLastFilter
.<filter> <filter-name>SecurityFilter</filter-name> <filter-class>waffle.servlet.NegotiateSecurityFilter</filter-class> <init-param> <param-name>excludePatterns</param-name> <param-value> .*/rest/.* .*/secure/CreateIssue.* .*/secure/QuickCreateIssue.* </param-value> </init-param> </filter>
- Place the 'filter-mapping' before the login filter-mapping of JIRA.
<filter-mapping> <filter-name>SecurityFilter</filter-name> <url-pattern>/</url-pattern> <url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>POST</dispatcher> </filter-mapping>
- Place the 'filter' before the last filter of JIRA, ie.
- Update
seraph-config.xml
to use a custom authenticator, RemoteUserJiraAuth. Modification may be needed.
No, although this can be done through active directory
Yes, log out and click log back in, this should bring up the login portal to log in as another user.
Check the location of your filter-mapping and make sure it is exactly before the filter mapping JiraLastFilter