1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| <?xml version="1.0" encoding="UTF-8"?>
<Context crossContext="true" reloadable="true" path="/intranet">
<Valve className="org.apache.catalina.authenticator.BasicAuthenticator" disableProxyCaching="false" />
<Realm className="com.company.JNDIRealm" debug="99"
connectionURL="ldaps://ldap.company.com:636"
userPattern="uid={0},ou=Persons,ou=People,dc=company,dc=com"
roleBase="ou=Group,ou=Intranet,dc=company,dc=com" roleName="cn"
roleSearch="(memberUid={1})" userRoleName="uid"/>
<Resource name="jdbc/requestScopeDS" type="javax.sql.DataSource"
password="****" driverClassName="oracle.jdbc.driver.OracleDriver"
maxIdle="4" maxWait="5000" username="*****"
url="****" maxActive="4"
validationQuery="select * from dual" initialSize="1"
poolPreparedStatements="true"
defaultTransactionIsolation="READ_COMMITTED" removeAbandoned="true"
removeAbandonedTimeout="60" logAbandoned="true" />
</Context> |
Partager