Hi everybody,
this is my first time I'm trying to configure an ubunto/jenkins server. I 
got a nacked ubuntosystem where I installed

* JAVA7
* Tomcat7
* Jenkins

As described on https://wiki.jenkins-ci.org/display/JENKINS/Tomcat I 
deleted the predefined ROOT-directoy unter /var/lib/tomcat7/webapps and 
copied jenkins.war as ROOT.war there.
After restaring tomcat the jenkins was deployed and could be accees. So far 
so good.

Now I want to secure the jenkins so it's not accessible directly.

I added the following lines to the tomcat/conf/tomcat-users.xml
<role rolename="admin"/>
<user username="jenkins-admin" password="secret" roles="admin"/>


In the web.xml of the webapps/ROOT/WEB-INF direcoty (where jenkins is 
deployed) I changed the folloing line to use the "admin"-role
<role-name>admin</role-name>

After restarting tomcat Jenkins was still accessable without any 
user-validation. So I changed the web-ressource-collection-url to 
"<url-pattern>/*</url-pattern>" restarted Tomcat.

Now i got a "destroyed" login-form (see screenshot) where I can enter 
anything I wand - nothing happens

Anyone have an idea what I'm doing wrong?

Greetings from Germany
Matthias

P.S. I also tried to change the Catalina-Realm to "<Realm 
className="org.apache.catalina.realm.MemoryRealm" />" as described on 
http://www.onjava.com/pub/a/onjava/2001/07/24/tomcat.html but this doesn't 
help either

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


<<attachment: jenkinslogin.png>>

Reply via email to