Benutzer-Werkzeuge

Webseiten-Werkzeuge


tachtler:apache_tomcat_7_-_ldap-authentifizierung_jndirealm

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
tachtler:apache_tomcat_7_-_ldap-authentifizierung_jndirealm [2015/05/07 17:21] klaustachtler:apache_tomcat_7_-_ldap-authentifizierung_jndirealm [2015/05/07 18:20] (aktuell) – [/etc/tomcat/tomcat-users.xml] klaus
Zeile 579: Zeile 579:
  
 Hier die **komplette Konfigurationsdatei** mit allen Änderungen bzw. Ergänzungen, welche ebenfalls nachfolgend erklärt werden: Hier die **komplette Konfigurationsdatei** mit allen Änderungen bzw. Ergänzungen, welche ebenfalls nachfolgend erklärt werden:
- 
-Nachfolgend die **komplette Konfigurationsdatei**: 
 <code xml> <code xml>
 <?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
Zeile 610: Zeile 608:
         connectionName="cn=Ersatzbenutzer,dc=tachtler,dc=net"         connectionName="cn=Ersatzbenutzer,dc=tachtler,dc=net"
     connectionPassword="geheim"     connectionPassword="geheim"
-         connectionURL="ldap://ldap.idmz.tachtler.net:389"+         connectionURL="ldaps://ldap.idmz.tachtler.net:636"
            userPattern="uid={0},ou=People,dc=tachtler,dc=net"            userPattern="uid={0},ou=People,dc=tachtler,dc=net"
               roleBase="ou=TomcatRoles,dc=tachtler,dc=net"               roleBase="ou=TomcatRoles,dc=tachtler,dc=net"
Zeile 642: Zeile 640:
         connectionName="cn=Ersatzbenutzer,dc=tachtler,dc=net"         connectionName="cn=Ersatzbenutzer,dc=tachtler,dc=net"
     connectionPassword="geheim"     connectionPassword="geheim"
-         connectionURL="ldap://ldap.idmz.tachtler.net:389"+         connectionURL="ldaps://ldap.idmz.tachtler.net:636"
            userPattern="uid={0},ou=People,dc=tachtler,dc=net"            userPattern="uid={0},ou=People,dc=tachtler,dc=net"
               roleBase="ou=TomcatRoles,dc=tachtler,dc=net"               roleBase="ou=TomcatRoles,dc=tachtler,dc=net"
Zeile 657: Zeile 655:
   * **''tomcat-admin-webapps''** - [[http://tomcat.apache.org/|Apache Tomcat]]-Administrative Web-Anwendungen (host-manager, manager)   * **''tomcat-admin-webapps''** - [[http://tomcat.apache.org/|Apache Tomcat]]-Administrative Web-Anwendungen (host-manager, manager)
  
-:!: **WICHTIG** - **Änderungen zur __aktivierung__ von Rollen und Benutzer, wie unter nachfolgendem internen Link** +:!: **WICHTIG** - **Änderungen zur __Aktivierung__ von Rollen und Benutzer, wie unter nachfolgendem internen Link** 
-  * Siehe auch den internen Link: [[tachtler:apache_tomcat_7|Apache Tomcat 7]]+  * Siehe auch den internen Link: [[tachtler:apache_tomcat_7#etc_tomcat_tomcat-usersxml|Apache Tomcat 7 - /etc/tomcat/tomcat-users.xml]] 
 +**__sollten__ wieder __rückgängig gemacht werden__**
  
 +Nachfolgend die **komplette Konfigurationsdatei** (**wie nach der original Installation ausgeliefert**):
 <code xml> <code xml>
 +<?xml version='1.0' encoding='utf-8'?>
 +<!--
 +  Licensed to the Apache Software Foundation (ASF) under one or more
 +  contributor license agreements.  See the NOTICE file distributed with
 +  this work for additional information regarding copyright ownership.
 +  The ASF licenses this file to You under the Apache License, Version 2.0
 +  (the "License"); you may not use this file except in compliance with
 +  the License.  You may obtain a copy of the License at
 +
 +      http://www.apache.org/licenses/LICENSE-2.0
 +
 +  Unless required by applicable law or agreed to in writing, software
 +  distributed under the License is distributed on an "AS IS" BASIS,
 +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 +  See the License for the specific language governing permissions and
 +  limitations under the License.
 +-->
 +<tomcat-users>
 +<!--
 +  NOTE:  By default, no user is included in the "manager-gui" role required
 +  to operate the "/manager/html" web application.  If you wish to use this app,
 +  you must define such a user - the username and password are arbitrary.
 +-->
 +<!--
 +  NOTE:  The sample user and role entries below are wrapped in a comment
 +  and thus are ignored when reading this file. Do not forget to remove
 +  <!.. ..> that surrounds them.
 +-->
 +<!--
 +  <role rolename="tomcat"/>
 +  <role rolename="role1"/>
 +  <user username="tomcat" password="tomcat" roles="tomcat"/>
 +  <user username="both" password="tomcat" roles="tomcat,role1"/>
 +  <user username="role1" password="tomcat" roles="role1"/>
 +-->
 +
 +<!-- <role rolename="admin"/> -->
 +<!-- <role rolename="admin-gui"/> -->
 +<!-- <role rolename="admin-script"/> -->
 +<!-- <role rolename="manager"/> -->
 +<!-- <role rolename="manager-gui"/> -->
 +<!-- <role rolename="manager-script"/> -->
 +<!-- <role rolename="manager-jmx"/> -->
 +<!-- <role rolename="manager-status"/> -->
 +<!-- <user name="admin" password="adminadmin" roles="admin,manager,admin-gui,admin-script,manager-gui,manager-script,manager-jmx,manager-status" /> -->
 +</tomcat-users>
 </code> </code>
  
tachtler/apache_tomcat_7_-_ldap-authentifizierung_jndirealm.1431012083.txt.gz · Zuletzt geändert: 2015/05/07 17:21 von klaus