Bug report for Taglibs [2012/07/01]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |38193|Ass|Enh|2006-01-09|[RDC] BuiltIn Grammar support for Field | |38600|Ass|Enh|2006-02-10|[RDC] Enable RDCs to be used in X+V markup (X+RDC)| |42413|New|Enh|2007-05-14|[PATCH] Log Taglib enhancements | |46052|New|Nor|2008-10-21|SetLocaleSupport is slow to initialize when many l| |48333|New|Enh|2009-12-02|TLD generator | +-+---+---+--+--+ | Total5 bugs | +---+ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Bug report for Tomcat Connectors [2012/07/01]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |34526|Opn|Nor|2005-04-19|Truncated content in decompressed requests from mo| |35959|Opn|Enh|2005-08-01|mod_jk not independant of UseCanonicalName| |43303|New|Enh|2007-09-04|Versioning under Windows not reported by many conn| |43968|Inf|Enh|2007-11-26|[patch] support ipv6 with mod_jk | |44290|Inf|Nor|2008-01-24|mod_jk/1.2.26: retry is not useful for an importan| |44349|Inf|Maj|2008-02-04|mod_jk/1.2.26 module does not read worker.status.s| |44379|New|Enh|2008-02-07|convert the output of strftime into UTF-8 | |44454|New|Nor|2008-02-19|busy count reported in mod_jk inflated, causes inc| |44571|New|Enh|2008-03-10|Limits busy per worker to a threshold | |45063|New|Nor|2008-05-22|JK-1.2.26 IIS ISAPI filter issue when running diff| |45313|New|Nor|2008-06-30|mod_jk 1.2.26 & apache 2.2.9 static compiled on so| |46337|New|Nor|2008-12-04|real worker name is wrong | |46676|New|Enh|2009-02-09|Configurable test request for Watchdog thread | |46767|New|Enh|2009-02-25|mod_jk to send DECLINED in case no fail-over tomca| |47327|New|Enh|2009-06-07|remote_user not logged in apache logfile | |47617|Inf|Enh|2009-07-31|include time spent doing ajp_get_endpoint() in err| |47678|New|Cri|2009-08-11|Unable to allocate shared memory when using isapi_| |47714|New|Cri|2009-08-20|Reponse mixed between users | |47750|New|Maj|2009-08-27|Loss of worker settings when changing via jkstatus| |47795|New|Maj|2009-09-07|service sticky_session not being set correctly wit| |47840|Inf|Min|2009-09-14|A broken worker name is written in the log file. | |48191|New|Maj|2009-11-13|Problem with mod_jk 1.2.28 - Can not render up the| |48460|New|Nor|2009-12-30|mod_proxy_ajp document has three misleading portio| |48490|New|Nor|2010-01-05|Changing a node to stopped in uriworkermap.propert| |48513|New|Enh|2010-01-09|IIS Quick setup instructions | |48564|New|Nor|2010-01-18|Unable to turn off retries for LB worker | |48830|New|Nor|2010-03-01|IIS shutdown blocked in endpoint service when serv| |48891|Opn|Enh|2010-03-11|Missing EOL-style settings in tomcat/jk/trunk | |49035|New|Maj|2010-04-01|data lost when post a multipart/form-data form| |49063|New|Enh|2010-04-07|Please add JkStripSession status in jk-status work| |49135|New|Enh|2010-04-16|SPDY Connector for The Tomcat | |49469|New|Enh|2010-06-19|Workers status page has negative number of connect| |49732|Opn|Nor|2010-08-10|reply_timeout can't wait forever. | |49822|New|Enh|2010-08-25|Add hash lb worker method | |49903|New|Enh|2010-09-09|Make workers file reloadable | |50186|New|Nor|2010-10-31|Wrong documentation of connection_pool_timeout / c| |52334|New|Maj|2011-12-14|recover_time is not properly used | |52483|New|Enh|2012-01-18|Print JkOptions's options in log file and jkstatus| |52651|New|Nor|2012-02-13|JKSHMFile size limitation | |53324|Opn|Nor|2012-05-30|Starting with mod_jk 1.2.35 I cannot modify worker| +-+---+---+--+--+ | Total 40 bugs | +---+ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Bug report for Tomcat 7 [2012/07/01]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |16579|New|Enh|2003-01-30|documentation page layout/style breaks wrapping to| |18500|New|Enh|2003-03-30|Host aliases to match by regular expression | |28039|Opn|Enh|2004-03-30|Cluster Support for SingleSignOn | |40728|Inf|Enh|2006-10-11|Catalina MBeans use non-serializable classes | |40881|Opn|Enh|2006-11-02|Unable to receive message through TCP channel -> | |41007|Opn|Enh|2006-11-20|Can't define customized 503 error page| |43866|New|Enh|2007-11-14|add support for session attribute propagation with| |43925|Opn|Enh|2007-11-21|org.apache.jasper.runtime.BodyContentImpl causing | |44216|New|Enh|2008-01-11|Don't reuse session ID even if emptySessionPath=tr| |48550|Inf|Enh|2010-01-14|Update examples and default server.xml to use UTF-| |49395|New|Enh|2010-06-06|manager.findLeaks : display the date when the leak| |49589|New|Enh|2010-07-12|Tag handlers with constant attribute values are al| |49785|New|Enh|2010-08-19|Enabling TLS for JNDIRealm| |49821|New|Enh|2010-08-25|Tomcat CLI| |50019|New|Enh|2010-09-28|Adding JNDI "lookup-name" support In XML and Resou| |50175|New|Enh|2010-10-28|Enhance memory leak detection by selectively apply| |50234|New|Enh|2010-11-08|JspC use servlet 3.0 features | |50504|New|Enh|2010-12-21|Allow setting query string character set trough re| |50670|New|Enh|2011-01-27|Tribes | RpcChannel | Add option to specify extern| |51195|New|Enh|2011-05-13|"Find leaks" reports a false positive memory/class| |51294|Opn|Enh|2011-05-30|Since 7.0.12 do not work option unpackWARs=true fo| |51423|Inf|Enh|2011-06-23|[Patch] to add a path and a version parameters to | |51463|New|Enh|2011-07-01|Tomcat.setBaseDir (package org.apache.catalina.st| |51496|New|Enh|2011-07-11|NSIS - Warn that duplicate service name will resul| |51497|New|Enh|2011-07-11|Use canonical IPv6 text representation in logs| |51526|New|Enh|2011-07-18|Process web application context config with embedd| |51587|New|Enh|2011-07-29|Implement status and uptime commands | |51953|New|Enh|2011-10-04|Proposal: netmask filtering valve and filter | |52092|New|Enh|2011-10-26|Please make AsyncFileHandler and OneLineFormatter | |52235|New|Enh|2011-11-23|Please do a bit of SEO tuning for the web site| |52236|New|Enh|2011-11-23|Idea: support 'overlays' shaped like Maven overlay| |52323|New|Enh|2011-12-13|Cobertura test code coverage support for build.xml| |52381|New|Enh|2011-12-22|Please add OSGi metadata | |52448|New|Enh|2012-01-11|Cache jar indexes in WebappClassLoader to speed up| |52489|New|Enh|2012-01-19|Enhancement request for code signing of war files | |52558|New|Enh|2012-01-30|CometConnectionManagerValve is adding non-serializ| |52688|New|Enh|2012-02-16|Add ability to remove old access log files| |52751|Opn|Enh|2012-02-23|Optimized configuration of the system info display| |52777|New|Enh|2012-02-27|Automatically shut down old versions in parallel d| |52952|New|Enh|2012-03-20|Improve ExtensionValidator handling for embedded s| |53085|New|Enh|2012-04-16|[perf] [concurrency] DefaultInstanceManager.annota| |53387|New|Enh|2012-06-08|SSI: Allow to use $1 to get result of regular expr| |53411|Opn|Enh|2012-06-13|NullPointerException in org.apache.tomcat.util.buf| +-+---+---+--+--+ | Total 43 bugs | +---+ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Bug report for Tomcat 5 [2012/07/01]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |52579|New|Reg|2012-02-02|Tomcat5.5.35?Java1.5 cannot return proper value of| |53050|New|Nor|2012-04-09|org.apache.catalina.session.ManagerBase has issues| +-+---+---+--+--+ | Total2 bugs | +---+ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Bug report for Tomcat 6 [2012/07/01]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |41679|New|Enh|2007-02-22|SemaphoreValve should be able to filter on url pat| |41883|Ass|Enh|2007-03-18|use abstract wrapper instead of plain X509Certific| |43001|New|Enh|2007-07-30|JspC lacks setMappedFile and setDie for use in Ant| |43400|New|Enh|2007-09-14|enum support for tag libs | |43548|Opn|Enh|2007-10-04|xml schema for tomcat-users.xml | |43682|New|Enh|2007-10-23|JULI: web-inf/classes/logging.properties to suppor| |43742|New|Enh|2007-10-30|.tag compiles performed one at a time -- extremel| |43979|New|Enh|2007-11-27|Add abstraction for Java and Classfile output | |44199|New|Enh|2008-01-10|expose current backlog queue size | |44225|New|Enh|2008-01-14|SSL connector tries to load the private keystore f| |44284|New|Enh|2008-01-23|Support java.lang.Iterable in c:forEach tag | |44294|New|Enh|2008-01-25|Support for EL functions with varargs | |44312|New|Enh|2008-01-28|Warn when overwritting docBase of the default Host| |44645|New|Enh|2008-03-20|[Patch] JNDIRealm - Doesn't support JNDI "java.nam| |44787|New|Enh|2008-04-09|provide more error context on "java.lang.IllegalSt| |44818|New|Enh|2008-04-13|tomcat hangs with GET when content-length is defin| |45014|New|Enh|2008-05-15|Request and Response classes should have wrappers | |45282|New|Enh|2008-06-25|NioReceiver doesn't close cleanly, leaving sockets| |45428|New|Enh|2008-07-18|warn if the tomcat stop doesn't complete | |45832|New|Enh|2008-09-18|add DIGEST authentication support to Ant tasks| |45878|New|Enh|2008-09-24|Generated jars do not contain proper manifests or | |45879|Opn|Enh|2008-09-24|Windows installer fails to install NOTICE and RELE| |45931|Opn|Enh|2008-10-01|trimSpaces incorrectly modifies output| |45995|New|Enh|2008-10-13|RFE - MIME type extension not case sensitive | |46173|New|Enh|2008-11-09|Small patch for manager app: Setting an optional c| |46263|New|Enh|2008-11-21|Tomcat reloading of context.xml does not update do| |46284|New|Enh|2008-11-24|Add flag to DeltaManager that blocks processing cl| |46350|New|Enh|2008-12-05|Maven repository should contain source bundles| |46727|New|Enh|2009-02-17|DefaultServlet - serving multiple encodings | |46902|New|Enh|2009-03-24|LoginValve to bypass restrictions of j_security_ch| |47214|New|Enh|2009-05-17|Inner classes that are explicitly referenced - sho| |47242|New|Enh|2009-05-22|request for AJP command line client | |47281|New|Enh|2009-05-28|Efficiency of the JDBCStore | |47407|New|Enh|2009-06-23|HttpSessionListener doesn't operate in the session| |47467|New|Enh|2009-07-02|Deployment of the war file by URL when contextpath| |47785|Opn|Enh|2009-09-04|Cluster MBean not registered | |47834|New|Enh|2009-09-14|TldConfig throws Exception when exploring unpacked| |47919|New|Enh|2009-09-30|Log Tomcat & Java environment variables in additio| |48358|Opn|Enh|2009-12-09|JSP-unloading reloaded| |48543|New|Enh|2010-01-14|[Patch] More flexibility in specifying -Dcatalina.| |48672|New|Enh|2010-02-03|Tomcat Virtual Host Manager (/host-manager) have b| |48674|New|Enh|2010-02-03|Tomcat Virtual Host Manager application doesn't pe| |48743|New|Enh|2010-02-15|Make the SLEEP variable in catalina.sh settable fr| |48899|New|Enh|2010-03-12|Guess URI charset should solve lot of problems| |48922|New|Enh|2010-03-16|org.apache.catalina.connector.Request clone static| |48928|New|Enh|2010-03-17|An alternative solution to preloading classes when| |49161|New|Enh|2010-04-21|Unknown Publisher when installing tomcat 6.0.26 | |49176|Opn|Enh|2010-04-23|Jasper in Dev Mode Is Memory Inefficient | |49464|New|Enh|2010-06-18|DefaultServlet and CharacterEncoding | |49531|New|Enh|2010-06-30|singlesignon failover not working on DeltaManager/| |49804|New|Enh|2010-08-23|Allow Embedded.redirectStreams value to be configu| |49939|
Bug report for Tomcat Native [2012/07/01]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |45392|New|Nor|2008-07-14|No OCSP support for client SSL verification | |46179|Opn|Maj|2008-11-10|apr ssl client authentication | |48655|Inf|Nor|2010-02-02|Active multipart downloads prevent tomcat shutdown| |49038|Inf|Nor|2010-04-02|Crash in tcnative | |51655|New|Nor|2011-08-12|Index page does not say what native does | |51813|New|Cri|2011-09-14|Tomcat randomly crashes with [libtcnative-1.so.1+0| |52153|New|Maj|2011-11-08|periodic JVM crash (access violation) on buffer fl| |52231|New|Nor|2011-11-23|Ant Tasks need to reflect changes in manager comma| |52319|New|Maj|2011-12-12|Tomcat 6 crashes with [libapr-1.so.0+0x196da] sig| |52627|New|Min|2012-02-08|Segmentation fault in org.apache.tomcat.jni.File.i| |52856|New|Maj|2012-03-08|High CPU load when the underlying socket error in | |53110|New|Cri|2012-04-20|Access Violation Error while creating SHM | |53481|New|Nor|2012-06-28|Support SSL_OP_CIPHER_SERVER_PREFERENCE / SSLHonor| +-+---+---+--+--+ | Total 13 bugs | +---+ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Bug report for Tomcat Modules [2012/07/01]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |48240|New|Nor|2009-11-19|Tomcat-Lite missing @Override markers | |48268|New|Nor|2009-11-23|Patch to fix generics in tomcat-lite | |48861|New|Nor|2010-03-04|Files without AL headers | |49685|New|Nor|2010-08-02|Unsafe synchronization in class ManagedBean | |49686|New|Nor|2010-08-02|Using an instance lock to protect static shared da| |50571|Inf|Nor|2011-01-11|Tomcat 7 JDBC connection pool exception enhancemen| |51595|Inf|Nor|2011-08-01|org.apache.tomcat.jdbc.pool.jmx.ConnectionPool sho| |51879|Inf|Enh|2011-09-22|Improve access to Native Connection Methods | |52024|Inf|Enh|2011-10-13|Custom interceptor to support automatic failover o| |52318|Inf|Cri|2011-12-11|Version in tomcat-jdbc POM is conflicted with Vers| |53088|Opn|Min|2012-04-17|Give PoolCleaner TimerTask a better name | |53198|New|Cri|2012-05-07|'driverClassName' Data Source Property Being Manda| |53199|Inf|Enh|2012-05-07|Refactor ConnectionPool to use ScheduledExecutorSe| |53200|New|Enh|2012-05-07|Be able to use SlowQueryReport without reporting f| +-+---+---+--+--+ | Total 14 bugs | +---+ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53492] New: Make JspC shell multithreaded
https://issues.apache.org/bugzilla/show_bug.cgi?id=53492 Priority: P2 Bug ID: 53492 Assignee: dev@tomcat.apache.org Summary: Make JspC shell multithreaded Severity: enhancement Classification: Unclassified OS: Mac OS X 10.4 Reporter: d...@fabulich.com Hardware: PC Status: NEW Version: trunk Component: Jasper Product: Tomcat 7 Created attachment 29016 --> https://issues.apache.org/bugzilla/attachment.cgi?id=29016&action=edit patch Jasper works great multi-threaded. Using two threads per core substantially improves throughput on my test machine, reducing the time it takes to build from 9 minutes to 2 minutes. The attached patch adds a new -threadCount command-line argument to JspC, as well as a setThreadCount setter, suitable for use in an Ant task. It accepts a positive integer, or a core factor like "2.0C" which means two threads per core. 2.0C is the default. Note that on my machine it didn't help that much unless JspC was also configured to -compile the classes. I've attached a patch. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53492] Make JspC shell multithreaded
https://issues.apache.org/bugzilla/show_bug.cgi?id=53492 Dan Fabulich changed: What|Removed |Added Attachment #29016|0 |1 is obsolete|| --- Comment #1 from Dan Fabulich --- Created attachment 29017 --> https://issues.apache.org/bugzilla/attachment.cgi?id=29017&action=edit patch Bugzilla screwed up the mime type; trying again -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53492] Make JspC shell multithreaded
https://issues.apache.org/bugzilla/show_bug.cgi?id=53492 --- Comment #2 from Dan Fabulich --- I'd love to have this backported to Tomcat 7 as well. The patch should apply cleanly to the 7.0.x branch. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Closed] (MTOMCAT-166) Cannot invoke Tomcat manager:Cannot retry request with a non-repeatable request entity
[ https://issues.apache.org/jira/browse/MTOMCAT-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) closed MTOMCAT-166. -- Resolution: Duplicate Fix Version/s: 2.0 dup of MTOMCAT-116 > Cannot invoke Tomcat manager:Cannot retry request with a non-repeatable > request entity > -- > > Key: MTOMCAT-166 > URL: https://issues.apache.org/jira/browse/MTOMCAT-166 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Components: tomcat7 >Affects Versions: 2.0-beta-1 > Environment: maven-2,windows 7 >Reporter: Mahmoud Saleh >Assignee: Olivier Lamy (*$^¨%`£) > Fix For: 2.0 > > > i am using **tomcat7-maven-plugin** to deploy application to remote server > **1- plugin configuration:** > > org.apache.tomcat.maven > tomcat7-maven-plugin > 2.0-beta-1 > > pb > http://mydomain:8080/manager/html > > > **2- settings.xml:** > http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd";> > > > > > pb > myuser > mypass > > > > > and i am using the command: `mvn tomcat7:deploy` > and i can see that the war file is deployed: > [INFO] Deploying war to http://mydomain.com:8080/myapp > Uploading: http://mydomain.com:8080/manager/html/deploy?path=%2Fmyapp > Uploaded: http://mydomain.com:8080/manager/html/deploy?path=%2Fmyapp > (5932 KB at 18.9 KB/sec) > and after that i am getting the error: > Cannot invoke Tomcat manager:Cannot retry request with a non-repeatable > request entity. > detailed exception: > org.apache.maven.lifecycle.LifecycleExecutionException: Cannot invoke Tomcat > manager > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot invoke > Tomcat manager > at > org.apache.tomcat.maven.plugin.tomcat7.AbstractCatalinaMojo.execute(AbstractCatalinaMojo.java:152) > at > org.apache.tomcat.maven.plugin.tomcat7.AbstractWarCatalinaMojo.execute(AbstractWarCatalinaMojo.java:71) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) > ... 17 more > Caused by: org.apache.http.client.ClientProtocolException > at > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:926) > at > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:822) > at > org.apache.tomcat.maven.common.deployer.TomcatManager.invoke(TomcatManager.java:718) > at > org.apache.tomcat.maven.common.deployer.TomcatManager.deployImpl(TomcatManager.java:681) > at > org.apache.tomcat.maven.common.
Re: svn commit: r1355615 - in /tomcat/trunk: java/org/apache/catalina/realm/JNDIRealm.java webapps/docs/config/realm.xml
2012/6/30 : > Author: fhanik > Date: Sat Jun 30 01:04:59 2012 > New Revision: 1355615 > > URL: http://svn.apache.org/viewvc?rev=1355615&view=rev > Log: > With more and more use of RFC 2307 http://tools.ietf.org/html/rfc2307 > There is a new way to search for roles using the memberUid that can contain > the value of another attribute within the users directory entry. > This may not be very specific to 2307, but that is where I see this > combination of role searches occur the most. > > Example: http://www.openldap.org/lists/openldap-technical/200904/msg00024.html > > > > > Modified: > tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java > tomcat/trunk/webapps/docs/config/realm.xml > > Modified: tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java > URL: > http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java?rev=1355615&r1=1355614&r2=1355615&view=diff > == > --- tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java (original) > +++ tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java Sat Jun 30 > 01:04:59 2012 > @@ -126,8 +126,9 @@ import org.ietf.jgss.GSSCredential; > * property. > * The roleSearch pattern optionally includes pattern > * replacements "{0}" for the distinguished name, and/or "{1}" for > - * the username, of the authenticated user for which roles will be > - * retrieved. > + * the username, and/or "{2}" the value of the userRoleAttribute > + * attribute from the users entry, of the authenticated user > + * for which roles will be retrieved. > * The roleBase property can be set to the element that > * is the base of the search for matching roles. If not specified, > * the entire context will be searched. > @@ -292,6 +293,14 @@ public class JNDIRealm extends RealmBase > */ > protected String userPassword = null; > > +/** > + * The name of the attribute inside the users > + * directory entry where the value will be > + * taken to search for roles > + * This attribute is not used during a nested search > + */ > +protected String userRoleAttribute = null; > + > > /** > * A string of LDAP user patterns or paths, ":"-separated > @@ -829,6 +838,14 @@ public class JNDIRealm extends RealmBase > } > > > +public String getUserRoleAttribute() { > +return userRoleAttribute; > +} > + > +public void setUserRoleAttribute(String userRoleAttribute) { > +this.userRoleAttribute = userRoleAttribute; > +} > + > /** > * Return the message format pattern for selecting users in this Realm. > */ > @@ -839,6 +856,8 @@ public class JNDIRealm extends RealmBase > } > > > + > + > /** > * Set the message format pattern for selecting users in this Realm. > * This may be one simple pattern, or multiple patterns to be tried, > @@ -1230,6 +1249,9 @@ public class JNDIRealm extends RealmBase > list.add(userPassword); > if (userRoleName != null) > list.add(userRoleName); > +if (userRoleAttribute != null) { > +list.add(userRoleAttribute); > +} > String[] attrIds = new String[list.size()]; > list.toArray(attrIds); > > @@ -1265,7 +1287,7 @@ public class JNDIRealm extends RealmBase > > // If no attributes are requested, no need to look for them > if (attrIds == null || attrIds.length == 0) { > -return new User(username, dn, null, null); > +return new User(username, dn, null, null,null); > } > > // Get required attributes from user entry > @@ -1283,12 +1305,17 @@ public class JNDIRealm extends RealmBase > if (userPassword != null) > password = getAttributeValue(userPassword, attrs); > > +String userRoleAttrValue = null; > +if (userRoleAttribute != null) { > +userRoleAttrValue = getAttributeValue(userRoleAttribute, attrs); > +} > + > // Retrieve values of userRoleName attribute > ArrayList roles = null; > if (userRoleName != null) > roles = addAttributeValues(userRoleName, attrs, roles); > > -return new User(username, dn, password, roles); > +return new User(username, dn, password, roles, userRoleAttrValue); > } > > > @@ -1427,12 +1454,17 @@ public class JNDIRealm extends RealmBase > if (userPassword != null) > password = getAttributeValue(userPassword, attrs); > > +String userRoleAttrValue = null; > +if (userRoleAttribute != null) { > +userRoleAttrValue = getAttributeValue(userRoleAttribute, attrs); > +} > + > // Retrieve values of userRoleName attribute > ArrayList roles = null; > if (userRoleName != null) > roles = addAttrib
svn commit: r1356006 - /tomcat/trunk/BUILDING.txt
Author: kkolinko Date: Sun Jul 1 20:27:03 2012 New Revision: 1356006 URL: http://svn.apache.org/viewvc?rev=1356006&view=rev Log: Provide more specific command example for running the "validate" target Modified: tomcat/trunk/BUILDING.txt Modified: tomcat/trunk/BUILDING.txt URL: http://svn.apache.org/viewvc/tomcat/trunk/BUILDING.txt?rev=1356006&r1=1356005&r2=1356006&view=diff == --- tomcat/trunk/BUILDING.txt (original) +++ tomcat/trunk/BUILDING.txt Sun Jul 1 20:27:03 2012 @@ -325,16 +325,17 @@ To enable Checkstyle, add the following Once Checkstyle is enabled, the check will be performed automatically during the build. The check is run before compilation of the source code. -It is possible to run the check separately. The command is: - -cd ${tomcat.source} -ant validate - To speed-up repeated runs of this check, a cache is configured. The cache is located in the following directory: output/res/checkstyle +It is possible to run the check separately by invoking the "validate" +target. The command is: + +cd ${tomcat.source} +ant -Dexecute.validate=true validate + (8.2) End-of-line conventions check - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1356007 - in /tomcat/trunk: java/org/apache/catalina/realm/JNDIRealm.java webapps/docs/config/realm.xml
Author: kkolinko Date: Sun Jul 1 20:31:00 2012 New Revision: 1356007 URL: http://svn.apache.org/viewvc?rev=1356007&view=rev Log: Review of r1355615 Correct obvious typos Remove trailing whitespace as reminded by checkstyle Modified: tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java tomcat/trunk/webapps/docs/config/realm.xml Modified: tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java?rev=1356007&r1=1356006&r2=1356007&view=diff == --- tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java (original) +++ tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java Sun Jul 1 20:31:00 2012 @@ -1464,7 +1464,7 @@ public class JNDIRealm extends RealmBase if (userRoleName != null) roles = addAttributeValues(userRoleName, attrs, roles); -return new User(username, dn, password, roles, password); +return new User(username, dn, password, roles, userRoleAttrValue); } Modified: tomcat/trunk/webapps/docs/config/realm.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/realm.xml?rev=1356007&r1=1356006&r2=1356007&view=diff == --- tomcat/trunk/webapps/docs/config/realm.xml (original) +++ tomcat/trunk/webapps/docs/config/realm.xml Sun Jul 1 20:31:00 2012 @@ -475,9 +475,9 @@ The LDAP filter expression used for performing role searches. Use {0} to substitute the distinguished name (DN) of the user, and/or {1} to -substitute the username, and/or {2} the value of the -userRoleAttribute attribute from the users directory entry. -If not specified a role search does +substitute the username, and/or {2} the value of the +userRoleAttribute attribute from the user's directory entry. +If not specified a role search does not take place and roles are taken only from the attribute in the user's entry specified by the userRoleName property. @@ -572,12 +572,12 @@ not specified all the roles for a user derive from the role search. - + The name of an attribute in the user's directory entry -containing the value that you wish to use when you search for -roles. This is especially useful for RFC 2307 where -the role memberUid can be the uid or the +containing the value that you wish to use when you search for +roles. This is especially useful for RFC 2307 where +the role memberUid can be the uid or the uidNumber of the user. This value will be marked as {2} in your role pattern. This value will NOT be available for nested group searches, - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1356014 - /tomcat/trunk/webapps/docs/config/realm.xml
Author: kkolinko Date: Sun Jul 1 20:39:34 2012 New Revision: 1356014 URL: http://svn.apache.org/viewvc?rev=1356014&view=rev Log: s/Catalina/Tomcat/ and several typos Modified: tomcat/trunk/webapps/docs/config/realm.xml Modified: tomcat/trunk/webapps/docs/config/realm.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/realm.xml?rev=1356014&r1=1356013&r2=1356014&view=diff == --- tomcat/trunk/webapps/docs/config/realm.xml (original) +++ tomcat/trunk/webapps/docs/config/realm.xml Sun Jul 1 20:39:34 2012 @@ -92,7 +92,7 @@ -The JDBC Database Realm connects Catalina to +The JDBC Database Realm connects Tomcat to a relational database, accessed through an appropriate JDBC driver, to perform lookups of usernames, passwords, and their associated roles. Because the lookup is done each time that it is required, @@ -162,7 +162,7 @@ Name of the column, in the "users" table, which contains -the user's credentials (i.e. password(. If a value for the +the user's credentials (i.e. password). If a value for the digest attribute is specified, this component will assume that the passwords have been encoded with the specified algorithm. Otherwise, they will be assumed to be @@ -205,7 +205,7 @@ -The DataSource Database Realm connects Catalina to +The DataSource Database Realm connects Tomcat to a relational database, accessed through a JNDI named JDBC DataSource to perform lookups of usernames, passwords, and their associated roles. Because the lookup is done each time that it is required, @@ -270,7 +270,7 @@ Name of the column, in the "users" table, which contains -the user's credentials (i.e. password(. If a value for the +the user's credentials (i.e. password). If a value for the digest attribute is specified, this component will assume that the passwords have been encoded with the specified algorithm. Otherwise, they will be assumed to be @@ -313,7 +313,7 @@ -The JNDI Directory Realm connects Catalina to +The JNDI Directory Realm connects Tomcat to an LDAP Directory, accessed through an appropriate JNDI driver, that stores usernames, passwords, and their associated roles. Changes to the directory are immediately reflected in the @@ -456,7 +456,7 @@ The base directory entry for performing role searches. If not specified the top-level element in the directory context will be used. If specified it may optionally include pattern replacements -"{0}".."{n}" corrosponding to the name parts of the +"{0}".."{n}" corresponding to the name parts of the user's distinguished name (as returned by javax.naming.Name.get()). - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1356016 - in /tomcat/tc7.0.x/trunk: ./ BUILDING.txt
Author: kkolinko Date: Sun Jul 1 20:45:13 2012 New Revision: 1356016 URL: http://svn.apache.org/viewvc?rev=1356016&view=rev Log: Merged revision 1356006 from tomcat/trunk: Provide more specific command example for running the "validate" target Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/BUILDING.txt Propchange: tomcat/tc7.0.x/trunk/ -- Merged /tomcat/trunk:r1356006 Modified: tomcat/tc7.0.x/trunk/BUILDING.txt URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/BUILDING.txt?rev=1356016&r1=1356015&r2=1356016&view=diff == --- tomcat/tc7.0.x/trunk/BUILDING.txt (original) +++ tomcat/tc7.0.x/trunk/BUILDING.txt Sun Jul 1 20:45:13 2012 @@ -325,16 +325,17 @@ To enable Checkstyle, add the following Once Checkstyle is enabled, the check will be performed automatically during the build. The check is run before compilation of the source code. -It is possible to run the check separately. The command is: - -cd ${tomcat.source} -ant validate - To speed-up repeated runs of this check, a cache is configured. The cache is located in the following directory: output/res/checkstyle +It is possible to run the check separately by invoking the "validate" +target. The command is: + +cd ${tomcat.source} +ant -Dexecute.validate=true validate + (8.2) End-of-line conventions check - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1356020 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/realm/JNDIRealm.java webapps/docs/config/realm.xml
Author: kkolinko Date: Sun Jul 1 20:49:26 2012 New Revision: 1356020 URL: http://svn.apache.org/viewvc?rev=1356020&view=rev Log: Review of r1355615 (r1355617) Correct obvious typos Remove trailing whitespace as reminded by checkstyle It is merge of revision 1356007 from trunk. Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/JNDIRealm.java tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml Propchange: tomcat/tc7.0.x/trunk/ -- Merged /tomcat/trunk:r1356007 Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/JNDIRealm.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/JNDIRealm.java?rev=1356020&r1=1356019&r2=1356020&view=diff == --- tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/JNDIRealm.java (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/JNDIRealm.java Sun Jul 1 20:49:26 2012 @@ -1483,7 +1483,7 @@ public class JNDIRealm extends RealmBase if (userRoleName != null) roles = addAttributeValues(userRoleName, attrs, roles); -return new User(username, dn, password, roles, password); +return new User(username, dn, password, roles, userRoleAttrValue); } Modified: tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml?rev=1356020&r1=1356019&r2=1356020&view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml Sun Jul 1 20:49:26 2012 @@ -475,9 +475,9 @@ The LDAP filter expression used for performing role searches. Use {0} to substitute the distinguished name (DN) of the user, and/or {1} to -substitute the username, and/or {2} the value of the -userRoleAttribute attribute from the users directory entry. -If not specified a role search does +substitute the username, and/or {2} the value of the +userRoleAttribute attribute from the user's directory entry. +If not specified a role search does not take place and roles are taken only from the attribute in the user's entry specified by the userRoleName property. @@ -575,9 +575,9 @@ The name of an attribute in the user's directory entry -containing the value that you wish to use when you search for -roles. This is especially useful for RFC 2307 where -the role memberUid can be the uid or the +containing the value that you wish to use when you search for +roles. This is especially useful for RFC 2307 where +the role memberUid can be the uid or the uidNumber of the user. This value will be marked as {2} in your role pattern. This value will NOT be available for nested group searches, - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1356021 - in /tomcat/tc7.0.x/trunk: ./ webapps/docs/config/realm.xml
Author: kkolinko Date: Sun Jul 1 20:52:18 2012 New Revision: 1356021 URL: http://svn.apache.org/viewvc?rev=1356021&view=rev Log: Merged revision 1356014 from tomcat/trunk: s/Catalina/Tomcat/ and several typos Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml Propchange: tomcat/tc7.0.x/trunk/ -- Merged /tomcat/trunk:r1356014 Modified: tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml?rev=1356021&r1=1356020&r2=1356021&view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml Sun Jul 1 20:52:18 2012 @@ -92,7 +92,7 @@ -The JDBC Database Realm connects Catalina to +The JDBC Database Realm connects Tomcat to a relational database, accessed through an appropriate JDBC driver, to perform lookups of usernames, passwords, and their associated roles. Because the lookup is done each time that it is required, @@ -162,7 +162,7 @@ Name of the column, in the "users" table, which contains -the user's credentials (i.e. password(. If a value for the +the user's credentials (i.e. password). If a value for the digest attribute is specified, this component will assume that the passwords have been encoded with the specified algorithm. Otherwise, they will be assumed to be @@ -205,7 +205,7 @@ -The DataSource Database Realm connects Catalina to +The DataSource Database Realm connects Tomcat to a relational database, accessed through a JNDI named JDBC DataSource to perform lookups of usernames, passwords, and their associated roles. Because the lookup is done each time that it is required, @@ -270,7 +270,7 @@ Name of the column, in the "users" table, which contains -the user's credentials (i.e. password(. If a value for the +the user's credentials (i.e. password). If a value for the digest attribute is specified, this component will assume that the passwords have been encoded with the specified algorithm. Otherwise, they will be assumed to be @@ -313,7 +313,7 @@ -The JNDI Directory Realm connects Catalina to +The JNDI Directory Realm connects Tomcat to an LDAP Directory, accessed through an appropriate JNDI driver, that stores usernames, passwords, and their associated roles. Changes to the directory are immediately reflected in the @@ -456,7 +456,7 @@ The base directory entry for performing role searches. If not specified the top-level element in the directory context will be used. If specified it may optionally include pattern replacements -"{0}".."{n}" corrosponding to the name parts of the +"{0}".."{n}" corresponding to the name parts of the user's distinguished name (as returned by javax.naming.Name.get()). - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
RE: svn commit: r1355615 - in /tomcat/trunk: java/org/apache/catalina/realm/JNDIRealm.java webapps/docs/config/realm.xml
Thanks for the review and fix > -Original Message- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Sunday, July 01, 2012 6:06 AM > To: Tomcat Developers List > Subject: Re: svn commit: r1355615 - in /tomcat/trunk: > java/org/apache/catalina/realm/JNDIRealm.java > webapps/docs/config/realm.xml > > 2012/6/30 : > > Author: fhanik > > Date: Sat Jun 30 01:04:59 2012 > > New Revision: 1355615 > > > > URL: http://svn.apache.org/viewvc?rev=1355615&view=rev > > Log: > > With more and more use of RFC 2307 http://tools.ietf.org/html/rfc2307 > > There is a new way to search for roles using the memberUid that can > contain the value of another attribute within the users directory entry. > > This may not be very specific to 2307, but that is where I see this > combination of role searches occur the most. > > > > Example: http://www.openldap.org/lists/openldap- > technical/200904/msg00024.html > > > > > > > > > > Modified: > > tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java > > tomcat/trunk/webapps/docs/config/realm.xml > > > > Modified: tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java > > URL: > http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm > /JNDIRealm.java?rev=1355615&r1=1355614&r2=1355615&view=diff > > > > == > > --- tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java > (original) > > +++ tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java Sat Jun > 30 01:04:59 2012 > > @@ -126,8 +126,9 @@ import org.ietf.jgss.GSSCredential; > > * property. > > * The roleSearch pattern optionally includes > pattern > > * replacements "{0}" for the distinguished name, and/or > "{1}" for > > - * the username, of the authenticated user for which roles > will be > > - * retrieved. > > + * the username, and/or "{2}" the value of the > userRoleAttribute > > + * attribute from the users entry, of the authenticated user > > + * for which roles will be retrieved. > > * The roleBase property can be set to the > element that > > * is the base of the search for matching roles. If not > specified, > > * the entire context will be searched. > > @@ -292,6 +293,14 @@ public class JNDIRealm extends RealmBase > > */ > > protected String userPassword = null; > > > > +/** > > + * The name of the attribute inside the users > > + * directory entry where the value will be > > + * taken to search for roles > > + * This attribute is not used during a nested search > > + */ > > +protected String userRoleAttribute = null; > > + > > > > /** > > * A string of LDAP user patterns or paths, ":"-separated > > @@ -829,6 +838,14 @@ public class JNDIRealm extends RealmBase > > } > > > > > > +public String getUserRoleAttribute() { > > +return userRoleAttribute; > > +} > > + > > +public void setUserRoleAttribute(String userRoleAttribute) { > > +this.userRoleAttribute = userRoleAttribute; > > +} > > + > > /** > > * Return the message format pattern for selecting users in this > Realm. > > */ > > @@ -839,6 +856,8 @@ public class JNDIRealm extends RealmBase > > } > > > > > > + > > + > > /** > > * Set the message format pattern for selecting users in this > Realm. > > * This may be one simple pattern, or multiple patterns to be > tried, > > @@ -1230,6 +1249,9 @@ public class JNDIRealm extends RealmBase > > list.add(userPassword); > > if (userRoleName != null) > > list.add(userRoleName); > > +if (userRoleAttribute != null) { > > +list.add(userRoleAttribute); > > +} > > String[] attrIds = new String[list.size()]; > > list.toArray(attrIds); > > > > @@ -1265,7 +1287,7 @@ public class JNDIRealm extends RealmBase > > > > // If no attributes are requested, no need to look for them > > if (attrIds == null || attrIds.length == 0) { > > -return new User(username, dn, null, null); > > +return new User(username, dn, null, null,null); > > } > > > > // Get required attributes from user entry > > @@ -1283,12 +1305,17 @@ public class JNDIRealm extends RealmBase > > if (userPassword != null) > > password = getAttributeValue(userPassword, attrs); > > > > +String userRoleAttrValue = null; > > +if (userRoleAttribute != null) { > > +userRoleAttrValue = getAttributeValue(userRoleAttribute, > attrs); > > +} > > + > > // Retrieve values of userRoleName attribute > > ArrayList roles = null; > > if (userRoleName != null) > > roles = addAttributeValues(userRoleName, attrs, roles); > > > > -return new User(username, dn, password, roles); > > +return new User(usern
svn commit: r1356045 - in /tomcat/trunk: java/org/apache/catalina/realm/JNDIRealm.java webapps/docs/config/realm.xml webapps/docs/realm-howto.xml
Author: kkolinko Date: Sun Jul 1 23:03:32 2012 New Revision: 1356045 URL: http://svn.apache.org/viewvc?rev=1356045&view=rev Log: Document roleNested property in JNDIRealm configuration reference. Better document its effect on roleSearch pattern. Rephrase descriptions of userRoleAttribute (was added in r1355615). Modified: tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java tomcat/trunk/webapps/docs/config/realm.xml tomcat/trunk/webapps/docs/realm-howto.xml Modified: tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java?rev=1356045&r1=1356044&r2=1356045&view=diff == --- tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java (original) +++ tomcat/trunk/java/org/apache/catalina/realm/JNDIRealm.java Sun Jul 1 23:03:32 2012 @@ -126,8 +126,9 @@ import org.ietf.jgss.GSSCredential; * property. * The roleSearch pattern optionally includes pattern * replacements "{0}" for the distinguished name, and/or "{1}" for - * the username, and/or "{2}" the value of the userRoleAttribute - * attribute from the users entry, of the authenticated user + * the username, and/or "{2}" the value of an attribute from the + * user's directory entry (the attribute is specified by the + * userRoleAttribute property), of the authenticated user * for which roles will be retrieved. * The roleBase property can be set to the element that * is the base of the search for matching roles. If not specified, @@ -362,7 +363,8 @@ public class JNDIRealm extends RealmBase /** * The message format used to select roles for a user, with "{0}" marking - * the spot where the distinguished name of the user goes. + * the spot where the distinguished name of the user goes. The "{1}" + * and "{2}" are described in the Configuration Reference. */ protected String roleSearch = null; Modified: tomcat/trunk/webapps/docs/config/realm.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/realm.xml?rev=1356045&r1=1356044&r2=1356045&view=diff == --- tomcat/trunk/webapps/docs/config/realm.xml (original) +++ tomcat/trunk/webapps/docs/config/realm.xml Sun Jul 1 23:03:32 2012 @@ -466,27 +466,51 @@ directory entries found by a role search. In addition you can use the userRoleName property to specify the name of an attribute, in the user's entry, containing additional -role names. If roleName is not specified a role +role names. +If roleName is not specified a role search does not take place, and roles are taken only from the user's entry. + +Set to true if you want to nest roles into roles. +When a role search is performed and the value of this property is +true, the search will be repeated recursively to find +all the roles that belong to the user either directly or indirectly. +If not specified, the default value of false is used. + + The LDAP filter expression used for performing role -searches. Use {0} to substitute the -distinguished name (DN) of the user, and/or {1} to -substitute the username, and/or {2} the value of the -userRoleAttribute attribute from the user's directory entry. -If not specified a role search does -not take place and roles are taken only from the attribute in -the user's entry specified by the userRoleName -property. +searches. + +Use {0} to substitute the distinguished name (DN) +of the user, and/or {1} to substitute the username, +and/or {2} for the value of an attribute from the +user's directory entry, of the authenticated user. +The name of the attribute that provides the value for {2} +is configured by the userRoleAttribute property. + +When roleNested property is true, +this filter expression will be also used to recursively search for +other roles, which indirectly belong to this user. To find the +roles that match the newly found role, the following values +are used: +{0} is substituted by the distinguished name of the newly +found role, and both {1} and {2} are +substituted by the name of the role (see the roleName +property). The userRoleAttribute property is not +applicable to this search. + +If this property is not specified, a role search does not take +place and roles are taken only from the attribute in the user's entry +specified by the userRoleName property. When searching for user roles, should the search be pe
svn commit: r1356047 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/realm/JNDIRealm.java webapps/docs/changelog.xml webapps/docs/config/realm.xml webapps/docs/realm-howto.xml
Author: kkolinko Date: Sun Jul 1 23:09:10 2012 New Revision: 1356047 URL: http://svn.apache.org/viewvc?rev=1356047&view=rev Log: Merged revision 1356045 from tomcat/trunk: Document roleNested property in JNDIRealm configuration reference. Better document its effect on roleSearch pattern. Rephrase descriptions of userRoleAttribute (was added in r1355615 (r1355617)). Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/JNDIRealm.java tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml tomcat/tc7.0.x/trunk/webapps/docs/realm-howto.xml Propchange: tomcat/tc7.0.x/trunk/ -- Merged /tomcat/trunk:r1356045 Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/JNDIRealm.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/JNDIRealm.java?rev=1356047&r1=1356046&r2=1356047&view=diff == --- tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/JNDIRealm.java (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/realm/JNDIRealm.java Sun Jul 1 23:09:10 2012 @@ -126,8 +126,9 @@ import org.ietf.jgss.GSSCredential; * property. * The roleSearch pattern optionally includes pattern * replacements "{0}" for the distinguished name, and/or "{1}" for - * the username, and/or "{2}" the value of the userRoleAttribute - * attribute from the users entry, of the authenticated user + * the username, and/or "{2}" the value of an attribute from the + * user's directory entry (the attribute is specified by the + * userRoleAttribute property), of the authenticated user * for which roles will be retrieved. * The roleBase property can be set to the element that * is the base of the search for matching roles. If not specified, @@ -368,7 +369,8 @@ public class JNDIRealm extends RealmBase /** * The message format used to select roles for a user, with "{0}" marking - * the spot where the distinguished name of the user goes. + * the spot where the distinguished name of the user goes. The "{1}" + * and "{2}" are described in the Configuration Reference. */ protected String roleSearch = null; Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1356047&r1=1356046&r2=1356047&view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Sun Jul 1 23:09:10 2012 @@ -156,6 +156,10 @@ isVirtualWebappRelative which are true or false. (markt) + +Document roleNested property of JNDIRealm +in Configuration Reference. (kkolinko) + Modified: tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml?rev=1356047&r1=1356046&r2=1356047&view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/config/realm.xml Sun Jul 1 23:09:10 2012 @@ -466,27 +466,51 @@ directory entries found by a role search. In addition you can use the userRoleName property to specify the name of an attribute, in the user's entry, containing additional -role names. If roleName is not specified a role +role names. +If roleName is not specified a role search does not take place, and roles are taken only from the user's entry. + +Set to true if you want to nest roles into roles. +When a role search is performed and the value of this property is +true, the search will be repeated recursively to find +all the roles that belong to the user either directly or indirectly. +If not specified, the default value of false is used. + + The LDAP filter expression used for performing role -searches. Use {0} to substitute the -distinguished name (DN) of the user, and/or {1} to -substitute the username, and/or {2} the value of the -userRoleAttribute attribute from the user's directory entry. -If not specified a role search does -not take place and roles are taken only from the attribute in -the user's entry specified by the userRoleName -property. +searches. + +Use {0} to substitute the distinguished name (DN) +of the user, and/or {1} to substitute the username, +and/or {2} for the value of an attribute from
buildbot failure in ASF Buildbot on tomcat-7-trunk
The Buildbot has detected a new failure on builder tomcat-7-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-7-trunk/builds/719 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source Stamp: [branch tomcat/tc7.0.x/trunk] 1356047 Blamelist: kkolinko BUILD FAILED: failed compile_1 sincerely, -The Buildbot - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 18500] Host aliases to match by regular expression
https://issues.apache.org/bugzilla/show_bug.cgi?id=18500 edward...@gmail.com changed: What|Removed |Added CC||edward...@gmail.com -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org