How to enable basic authentication on Team concert 1.0
Hello
I wanted to use basic authentication as opposed to form based authentication on my TeamConcert server.
I tried changing the web.xml in tomcat/webapps/jazz/WEB-INF folder as follows -
However, when I try to connect to the server using my browser, I get the following error -
Thanks
- Vibha
I wanted to use basic authentication as opposed to form based authentication on my TeamConcert server.
I tried changing the web.xml in tomcat/webapps/jazz/WEB-INF folder as follows -
<login>
<auth>BASIC</auth>
</login>
<!--
<login>
<auth>FORM</auth>
<form>
<form>/auth/authrequired</form>
<form>/auth/authfailed</form>
</form>
</login>
-->
However, when I try to connect to the server using my browser, I get the following error -
Aug 26, 2008 5:34:16 PM org.apache.catalina.authenticator.FormAuthenticator forwardToLoginPage
WARNING: Unexpected error forwarding to login page
java.lang.NullPointerException
at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:316)
at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:244)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:810)
Thanks
- Vibha
One answer
There is a Tech Note that included instructions on how to setup Basic
auth for Jazz Team Server. The instructions are in the "Configuring the
authentication method" section of
https://jazz.net/learn/LearnItem.jsp?href=content/tech-notes/jazz-team-server-0_6-authentication-explained/index.html
Matt Lavin
Jazz Server Team
vssinha wrote:
auth for Jazz Team Server. The instructions are in the "Configuring the
authentication method" section of
https://jazz.net/learn/LearnItem.jsp?href=content/tech-notes/jazz-team-server-0_6-authentication-explained/index.html
Matt Lavin
Jazz Server Team
vssinha wrote:
Hello
I wanted to use basic authentication as opposed to form based
authentication on my TeamConcert server.
I tried changing the web.xml in tomcat/webapps/jazz/WEB-INF folder as
follows -
login
auth>BASIC</auth>FORM</auth>/auth/authrequired</form>/auth/authfailed</form>
--
However, when I try to connect to the server using my browser, I get
the following error -
Aug 26, 2008 5:34:16 PM
org.apache.catalina.authenticator.FormAuthenticator
forwardToLoginPage
WARNING: Unexpected error forwarding to login page
java.lang.NullPointerException
at
org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:316)
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:244)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at
java.lang.Thread.run(Thread.java:810)
Thanks
- Vibha