...
Code Block | ||
---|---|---|
| ||
<!-- Use the LockOutRealm to prevent attempts to guess user passwords via a brute-force attack --> <Realm className="org.apache.catalina.realm.LockOutRealm"> <!-- This Realm uses the UserDatabase configured in the global JNDI resources under the key "UserDatabase". Any edits that are performed against this UserDatabase are immediately available for use by the Realm. --> <!--<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" />--> <!-- user MUST be a part of FlexDeployHTTPSAgent group in order for authentication to work --> <Realm className="org.apache.catalina.realm.JNDIRealm" connectionName="CN=administrator,CN=Users,DC=flexagondev,DC=local" connectionPassword="password" connectionURL="ldap://yourldapurl.example:389" userBase="CN=Users,DC=flexagondev,DC=local" userSearch="(&(objectClass=*)(sAMAccountName={0}))" userRoleName="member" roleBase="CN=Users,DC=flexagondev,DC=local" roleName="cn" roleSearch="(objectClass=group)" /> </Realm> |
...