Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--VERSION.txt3
-rw-r--r--jetty-client/src/main/java/org/eclipse/jetty/client/security/SecurityListener.java11
2 files changed, 9 insertions, 5 deletions
diff --git a/VERSION.txt b/VERSION.txt
index 6432e535fd..96a206170c 100644
--- a/VERSION.txt
+++ b/VERSION.txt
@@ -21,7 +21,8 @@ jetty-7.0.0.RC6-SNAPSHOT
+ 280723 Add non blocking statistics handler
+ 283357 org.eclipse.jetty.server.HttpConnectionTest exceptions
+ 282543 HttpClient SSL buffer size fix
- + 289145 formalize reload policy functionality
+ + 289146 formalize reload policy functionality
+ + 289156 jetty-client: no longer throw runtime exception for bad authn details
jetty-6.1.20 27 August 2009
+ JETTY-838 Don't log and throw
diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/security/SecurityListener.java b/jetty-client/src/main/java/org/eclipse/jetty/client/security/SecurityListener.java
index e41ac3baf3..9e06a07d49 100644
--- a/jetty-client/src/main/java/org/eclipse/jetty/client/security/SecurityListener.java
+++ b/jetty-client/src/main/java/org/eclipse/jetty/client/security/SecurityListener.java
@@ -90,7 +90,10 @@ public class SecurityListener extends HttpEventListenerWrapper
while ( strtok.hasMoreTokens() )
{
- String[] pair = strtok.nextToken().split( "=" );
+ String token = strtok.nextToken();
+ String[] pair = token.split( "=" );
+
+ // authentication details ought to come in two parts, if not then just skip
if ( pair.length == 2 )
{
String itemName = pair[0].trim();
@@ -99,11 +102,11 @@ public class SecurityListener extends HttpEventListenerWrapper
itemValue = StringUtil.unquote( itemValue );
authenticationDetails.put( itemName, itemValue );
- }
+ }
else
{
- throw new IllegalArgumentException( "unable to process authentication details" );
- }
+ Log.debug("SecurityListener: missed scraping authentication details - " + token );
+ }
}
return authenticationDetails;
}

Back to the top