fail to login the encoding options of Properties File Login Modul -----------------------------------------------------------------
Key: GERONIMO-5569 URL: https://issues.apache.org/jira/browse/GERONIMO-5569 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: deployment, security Affects Versions: 3.0 Environment: « Hide OS:Windows XP SP3 Java Version: 1.6.0_20 Server:Geronimo 3.0-SNAPSHOT Reporter: Zhen Zhang Priority: Minor Fix For: 3.0 setps to recur: 1.Start the server 2.Copy users-sha1-hex.properties users-md5-base64.properties to <server_root>/var/security directory 3.Deploy the plan. Note: This does not require an archive.For v2.1 or later, using this plan prop-md5-base64_v2.1.xml instead. 4.Deploy realm-md5-test-webapp.war using realm-md5-test-plan.xml. 5.Open a browser window and access http://localhost:8080/prop-md5-test/secure/secure.jsp using UID/PWD: system/manager 6.Deploy the plan prop-sha1-hex_v1.0.xml Note: This does not require an archive.For v2.1 or later, using this plan prop-sha1-hex_v2.1.xml instead. 7.Deploy realm-sha1-test-webapp.war using realm-sha1-test-plan.xml 8.Open a new browser window and access http://localhost:8080/prop-sha1-test/secure/secure.jsp using UID/PWD: system/manager when you execute step4 and step7, you will find this log info: 2010-09-02 15:58:25,109 INFO [RedirectByHashFilter] Hash value for page:/portal/2-1/Applications/Deployer/__acplugin0x2Deployment!-2135677113|0/__pmplugin0x2Deployment!-2135677113|0_view/__wsplugin0x2Deployment!-2135677113|0_normal is:-2346983809162886094 2010-09-02 15:58:25,109 INFO [RedirectByHashFilter] no redirect for:http://localhost:8080/console/portal/2-1/Applications/Deployer/__acplugin0x2Deployment!-2135677113%7C0/__pmplugin0x2Deployment!-2135677113%7C0_view/__wsplugin0x2Deployment!-2135677113%7C0_normal 2010-09-02 15:58:27,578 INFO [RedirectByHashFilter] Hash value for page:/portal/2-1/Applications/Deployer/__pmplugin0x2Deployment!-2135677113|0_view/__wsplugin0x2Deployment!-2135677113|0_normal is:8616106058888766878 2010-09-02 15:58:27,578 INFO [RedirectByHashFilter] no redirect for:http://localhost:8080/console/portal/2-1/Applications/Deployer/__pmplugin0x2Deployment!-2135677113%7C0_view/__wsplugin0x2Deployment!-2135677113%7C0_normal 2010-09-02 15:58:27,578 INFO [SupportedModesServiceImpl] Portlet mode 'edit' not found for portletId: 'plugin.Deployment!-2135677113|0' 2010-09-02 15:58:36,843 WARN [Parameters] Parameters: Invalid chunk '' ignored. 2010-09-02 15:58:36,843 INFO [RedirectByHashFilter] Hash value for page:/portal/2-1/Applications/Deployer/__acplugin0x2Deployment!-2135677113|0/__pmplugin0x2Deployment!-2135677113|0_view/__wsplugin0x2Deployment!-2135677113|0_normal is:-2346983809162886094 2010-09-02 15:58:36,843 INFO [RedirectByHashFilter] no redirect for:http://localhost:8080/console/portal/2-1/Applications/Deployer/__acplugin0x2Deployment!-2135677113%7C0/__pmplugin0x2Deployment!-2135677113%7C0_view/__wsplugin0x2Deployment!-2135677113%7C0_normal 2010-09-02 15:58:37,515 INFO [config] Extracting jar: D:\server\geronimo-tomcat7-javaee6-web-3.0-SNAPSHOT\var\temp\geronimo-deployer949419437165653088.tmpdir\realm-md5-test-webapp.war 2010-09-02 15:58:37,531 INFO [config] Extracted path: D:\server\geronimo-tomcat7-javaee6-web-3.0-SNAPSHOT\var\temp\geronimo-deployer949419437165653088.tmpdir\realm-md5-test-webapp 2010-09-02 15:58:49,218 ERROR [DeploymentPortlet] ???? Unable to resolve reference "ConfigurationFactory" in gbean tests/prop-md5-test/1.0/war?J2EEApplication=null,j2eeType=WebModule,name=tests/prop-md5-test/1.0/war to a gbean matching the pattern [?name=prop-md5-base64#org.apache.geronimo.security.jaas.ConfigurationFactory] due to: No matches for referencePatterns: [?name=prop-md5-base64#org.apache.geronimo.security.jaas.ConfigurationFactory] org.apache.geronimo.common.DeploymentException: Unable to resolve reference "ConfigurationFactory" in gbean tests/prop-md5-test/1.0/war?J2EEApplication=null,j2eeType=WebModule,name=tests/prop-md5-test/1.0/war to a gbean matching the pattern [?name=prop-md5-base64#org.apache.geronimo.security.jaas.ConfigurationFactory] due to: No matches for referencePatterns: [?name=prop-md5-base64#org.apache.geronimo.security.jaas.ConfigurationFactory] at org.apache.geronimo.deployment.DeploymentContext.getConfigurationData(DeploymentContext.java:534) at org.apache.geronimo.deployment.Deployer.install(Deployer.java:342) at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:265) at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138) 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.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) at java.lang.Thread.run(Thread.java:619) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.