geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r793954 - /geronimo/server/trunk/plugins/jetty7/geronimo-jetty7-builder/src/main/java/org/apache/geronimo/jetty7/deployment/JettyModuleBuilder.java
Date Tue, 14 Jul 2009 15:54:23 GMT
Author: gawor
Date: Tue Jul 14 15:54:23 2009
New Revision: 793954

URL: http://svn.apache.org/viewvc?rev=793954&view=rev
Log:
handle client-cert auth method properly

Modified:
    geronimo/server/trunk/plugins/jetty7/geronimo-jetty7-builder/src/main/java/org/apache/geronimo/jetty7/deployment/JettyModuleBuilder.java

Modified: geronimo/server/trunk/plugins/jetty7/geronimo-jetty7-builder/src/main/java/org/apache/geronimo/jetty7/deployment/JettyModuleBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/jetty7/geronimo-jetty7-builder/src/main/java/org/apache/geronimo/jetty7/deployment/JettyModuleBuilder.java?rev=793954&r1=793953&r2=793954&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/jetty7/geronimo-jetty7-builder/src/main/java/org/apache/geronimo/jetty7/deployment/JettyModuleBuilder.java
(original)
+++ geronimo/server/trunk/plugins/jetty7/geronimo-jetty7-builder/src/main/java/org/apache/geronimo/jetty7/deployment/JettyModuleBuilder.java
Tue Jul 14 15:54:23 2009
@@ -866,7 +866,7 @@
                 LoginConfigType loginConfig = loginConfigArray[0];
                 if (loginConfig.isSetAuthMethod()) {
                     String authMethod = loginConfig.getAuthMethod().getStringValue().trim();
-                    BuiltInAuthMethod auth = BuiltInAuthMethod.valueOf(authMethod);
+                    BuiltInAuthMethod auth = BuiltInAuthMethod.getValueOf(authMethod);
                     GBeanData securityFactoryData = new GBeanData(factoryName, JettySecurityHandlerFactory.class);
                     securityFactoryData.setAttribute("authMethod", auth);
                     configureConfigurationFactory(jettyWebApp, loginConfig, securityFactoryData);



Mime
View raw message