tachtler:apache_tomcat_7_-_ldap-authentifizierung_jndirealm
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungLetzte ÜberarbeitungBeide Seiten der Revision | ||
tachtler:apache_tomcat_7_-_ldap-authentifizierung_jndirealm [2015/05/07 17:07] – klaus | tachtler:apache_tomcat_7_-_ldap-authentifizierung_jndirealm [2015/05/07 18:19] – [/etc/tomcat/tomcat-users.xml] klaus | ||
---|---|---|---|
Zeile 529: | Zeile 529: | ||
Nachfolgende Änderungen **deaktivieren** die Nutzung der Konfigurationsdatei | Nachfolgende Änderungen **deaktivieren** die Nutzung der Konfigurationsdatei | ||
* ''/ | * ''/ | ||
- | durch den[[http:// | + | durch den [[http:// |
+ | * **'' | ||
<code xml> | <code xml> | ||
< | < | ||
Zeile 548: | Zeile 550: | ||
Nachfolgende Änderungen **deaktivieren** die Nutzung der Konfigurationsdatei | Nachfolgende Änderungen **deaktivieren** die Nutzung der Konfigurationsdatei | ||
* ''/ | * ''/ | ||
- | durch den[[http:// | + | durch den [[http:// |
+ | * **'' | ||
<code xml> | <code xml> | ||
<!-- Use the LockOutRealm to prevent attempts to guess user passwords | <!-- Use the LockOutRealm to prevent attempts to guess user passwords | ||
Zeile 565: | Zeile 569: | ||
==== / | ==== / | ||
- | Nachfolgende Änderungen | + | Die Konfigurationsdatei |
+ | | ||
+ | ist unter [[http:// | ||
- | Nachfolgend die **komplette Konfigurationsdatei**: | + | Nachfolgend |
+ | < | ||
+ | <!-- Tachtler --> | ||
+ | </ | ||
+ | |||
+ | Hier die **komplette Konfigurationsdatei** | ||
<code xml> | <code xml> | ||
+ | <?xml version=' | ||
+ | <!-- | ||
+ | Licensed to the Apache Software Foundation (ASF) under one or more | ||
+ | contributor license agreements. | ||
+ | this work for additional information regarding copyright ownership. | ||
+ | The ASF licenses this file to You under the Apache License, Version 2.0 | ||
+ | (the " | ||
+ | the License. | ||
+ | |||
+ | http:// | ||
+ | |||
+ | 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. | ||
+ | --> | ||
+ | <!-- The contents of this file will be loaded for each web application --> | ||
+ | < | ||
+ | |||
+ | <!-- Default set of monitored resources --> | ||
+ | < | ||
+ | |||
+ | <!-- Tachtler --> | ||
+ | <!-- Enable LDAP authentication --> | ||
+ | <Realm className=" | ||
+ | connectionName=" | ||
+ | connectionPassword=" | ||
+ | | ||
+ | | ||
+ | roleBase=" | ||
+ | roleName=" | ||
+ | roleSearch=" | ||
+ | /> | ||
+ | |||
+ | <!-- Uncomment this to disable session persistence across Tomcat restarts --> | ||
+ | <!-- | ||
+ | <Manager pathname="" | ||
+ | --> | ||
+ | |||
+ | <!-- Uncomment this to enable Comet connection tacking (provides events | ||
+ | on session expiration as well as webapp lifecycle) --> | ||
+ | <!-- | ||
+ | <Valve className=" | ||
+ | --> | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
+ | === Bereich: Context === | ||
+ | |||
+ | Nachfolgende Änderungen **aktivieren** die Nutzung die Nutzung eines LDAP_Servers durch den [[http:// | ||
+ | * **'' | ||
+ | |||
+ | <code xml> | ||
+ | <!-- Tachtler --> | ||
+ | <!-- Enable LDAP authentication --> | ||
+ | <Realm className=" | ||
+ | connectionName=" | ||
+ | connectionPassword=" | ||
+ | | ||
+ | | ||
+ | roleBase=" | ||
+ | roleName=" | ||
+ | roleSearch=" | ||
+ | /> | ||
+ | </ | ||
+ | |||
+ | ==== / | ||
+ | |||
+ | Die Konfigurationsdatei | ||
+ | * **''/ | ||
+ | stellt eine **Standard**-Konfigurationsdatei zur Authentifizierung der nachfolgenden, | ||
+ | * **'' | ||
+ | |||
+ | :!: **WICHTIG** - **Änderungen zur __Aktivierung__ von Rollen und Benutzer, wie unter nachfolgendem internen Link** | ||
+ | * Siehe auch den internen Link: [[tachtler: | ||
+ | **__müssen__ wieder __rückgängig gemacht werden__** | ||
+ | |||
+ | Nachfolgend die **komplette Konfigurationsdatei** (**wie nach der original Installation ausgeliefert**): | ||
+ | <code xml> | ||
+ | <?xml version=' | ||
+ | <!-- | ||
+ | Licensed to the Apache Software Foundation (ASF) under one or more | ||
+ | contributor license agreements. | ||
+ | this work for additional information regarding copyright ownership. | ||
+ | The ASF licenses this file to You under the Apache License, Version 2.0 | ||
+ | (the " | ||
+ | the License. | ||
+ | |||
+ | http:// | ||
+ | |||
+ | 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. | ||
+ | --> | ||
+ | < | ||
+ | <!-- | ||
+ | NOTE: By default, no user is included in the " | ||
+ | to operate the "/ | ||
+ | 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=" | ||
+ | <role rolename=" | ||
+ | <user username=" | ||
+ | <user username=" | ||
+ | <user username=" | ||
+ | --> | ||
+ | |||
+ | <!-- <role rolename=" | ||
+ | <!-- <role rolename=" | ||
+ | <!-- <role rolename=" | ||
+ | <!-- <role rolename=" | ||
+ | <!-- <role rolename=" | ||
+ | <!-- <role rolename=" | ||
+ | <!-- <role rolename=" | ||
+ | <!-- <role rolename=" | ||
+ | <!-- <user name=" | ||
+ | </ | ||
</ | </ | ||
tachtler/apache_tomcat_7_-_ldap-authentifizierung_jndirealm.txt · Zuletzt geändert: 2015/05/07 18:20 von klaus