tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric B." <ebe...@hotmail.com>
Subject Re: How to define a Realm as a global resource and use it as a ResourceLink?
Date Tue, 11 Aug 2009 18:57:41 GMT
> "Martin Gainty" <mgainty@hotmail.com> wrote in message 
> news:BLU142-W7C108F09EE2529B84CA6EAE080@phx.gbl...
>
> server.xml should contain this JNDIRealm specification defined globally
>     <Realm className="org.apache.catalina.realm.JNDIRealm"
>
>             <!-- The LDAP Address of your DC -->
>             connectionURL="ldap://dc1.domain.local:389"
>             <!-- Account information to access the Directory -->
>             connectionName="tomcat@DOMAIN"
>             connectionPassword="AReallyLongPassword"
>
>             <!-- Where should Tomcat look for users -->
>            userBase="OU=users,OU=mydomain,DC=DOMAIN,DC=local"
>            userSearch="(sAMAccountName={0})"
>            userSubtree="true"
>            userRoleName="memberOf"
>
>            <!-- Where should tomcat look for groups -->
>            roleBase="OU=groups,OU=mydomain,DC=DOMAIN,DC=local"
>            roleSubtree="true"
>            roleName="cn"
>            roleSearch="(member={0})"
>            <!-- Debug Level -->
>            debug="99"
>        />

Ironically, although I have seen several examples with debug="99", I found 
absolutely nothing in the documentation or in the source code that indicates 
that "debug" does anything at all in the Realm configuration.  In fact, 
according to the docs, it isn't even a valid property.

Thanks,

Eric




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message