You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org> on 2006/10/30 14:22:16 UTC
[jira] Created: (GERONIMO-2534) Security realms portlet should
validate the realm-name for duplicate name
Security realms portlet should validate the realm-name for duplicate name
-------------------------------------------------------------------------
Key: GERONIMO-2534
URL: http://issues.apache.org/jira/browse/GERONIMO-2534
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: console
Affects Versions: 1.1.1, 1.2
Reporter: Vamsavardhana Reddy
Fix For: 1.2
"Add new security realm" function does not check if the realm-name entered by the user is already in use. There are no errors shown in the console, whereas the following error is logged:
18:32:12,033 ERROR [ProxyCollection] Listener threw exception
java.lang.IllegalArgumentException: ConfigurationEntry already registered
at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.addConfi
guration(GeronimoLoginConfiguration.java:115)
at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.memberAd
ded(GeronimoLoginConfiguration.java:96)
at org.apache.geronimo.gbean.runtime.ProxyCollection.addTarget(ProxyColl
ection.java:102)
at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.targetAdde
d(GBeanCollectionReference.java:96)
at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.addTarget(
GBeanCollectionReference.java:180)
at org.apache.geronimo.gbean.runtime.GBeanCollectionReference$1.running(
GBeanCollectionReference.java:110)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
nt(BasicLifecycleMonitor.java:173)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
icLifecycleMonitor.java:41)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:292)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:102)
at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
ava:526)
at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
eanDependency.java:111)
at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
ndency.java:146)
at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
ndency.java:120)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
nt(BasicLifecycleMonitor.java:173)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
icLifecycleMonitor.java:41)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:292)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:102)
at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
ava:526)
at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
eanDependency.java:111)
at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
ndency.java:146)
at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
ndency.java:120)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
nt(BasicLifecycleMonitor.java:173)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
icLifecycleMonitor.java:41)
at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:292)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:102)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
BeanInstanceState.java:124)
at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
nstance.java:540)
at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
cKernel.java:379)
at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:374)
at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:187)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:527)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:508)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
ssByCGLIB$$ce77a924.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:122)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:817)
at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
cerByCGLIB$$cb9efa2b.startConfiguration(<generated>)
at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
mand.java:67)
at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-2534) Security realms portlet should
validate the realm-name for duplicate name
Posted by "Don Hill (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Hill updated GERONIMO-2534:
-------------------------------
Attachment: selectType.jsp.patch
SecurityRealmPortlet.patch
@rev 524947
SecurityRealmPortlet.patch - patch for applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java
added check in processAction which calls new method, sets error message if realm name exists and returns back to select type
2.) selectType.jsp.patch - patch for applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/realmwizard/selectType.jsp
added message check/display
> Security realms portlet should validate the realm-name for duplicate name
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2534
> URL: https://issues.apache.org/jira/browse/GERONIMO-2534
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console
> Affects Versions: 1.1.1, 1.2
> Reporter: Vamsavardhana Reddy
> Fix For: 1.x, 2.0-M5
>
> Attachments: SecurityRealmPortlet.patch, selectType.jsp.patch
>
>
> "Add new security realm" function does not check if the realm-name entered by the user is already in use. There are no errors shown in the console, whereas the following error is logged:
> 18:32:12,033 ERROR [ProxyCollection] Listener threw exception
> java.lang.IllegalArgumentException: ConfigurationEntry already registered
> at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.addConfi
> guration(GeronimoLoginConfiguration.java:115)
> at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.memberAd
> ded(GeronimoLoginConfiguration.java:96)
> at org.apache.geronimo.gbean.runtime.ProxyCollection.addTarget(ProxyColl
> ection.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.targetAdde
> d(GBeanCollectionReference.java:96)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.addTarget(
> GBeanCollectionReference.java:180)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference$1.running(
> GBeanCollectionReference.java:110)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:526)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
> at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:526)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
> at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:540)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:374)
> at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:187)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:527)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:508)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
> at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:122)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:817)
> at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$cb9efa2b.startConfiguration(<generated>)
> at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (GERONIMO-2534) Security realms portlet should
validate the realm-name for duplicate name
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods closed GERONIMO-2534.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.x)
2.1
Committed revision 559950 in trunk (2.1)
Committed revision 559951 in branches/2.0
> Security realms portlet should validate the realm-name for duplicate name
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2534
> URL: https://issues.apache.org/jira/browse/GERONIMO-2534
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console
> Affects Versions: 1.1.1, 1.2
> Reporter: Vamsavardhana Reddy
> Fix For: 2.0, 2.1
>
> Attachments: SecurityRealmPortlet.patch, selectType.jsp.patch
>
>
> "Add new security realm" function does not check if the realm-name entered by the user is already in use. There are no errors shown in the console, whereas the following error is logged:
> 18:32:12,033 ERROR [ProxyCollection] Listener threw exception
> java.lang.IllegalArgumentException: ConfigurationEntry already registered
> at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.addConfi
> guration(GeronimoLoginConfiguration.java:115)
> at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.memberAd
> ded(GeronimoLoginConfiguration.java:96)
> at org.apache.geronimo.gbean.runtime.ProxyCollection.addTarget(ProxyColl
> ection.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.targetAdde
> d(GBeanCollectionReference.java:96)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.addTarget(
> GBeanCollectionReference.java:180)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference$1.running(
> GBeanCollectionReference.java:110)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:526)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
> at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:526)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
> at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:540)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:374)
> at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:187)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:527)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:508)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
> at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:122)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:817)
> at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$cb9efa2b.startConfiguration(<generated>)
> at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-2534) Security realms portlet should
validate the realm-name for duplicate name
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated GERONIMO-2534:
-----------------------------------
Patch Info: [Patch Available]
> Security realms portlet should validate the realm-name for duplicate name
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2534
> URL: https://issues.apache.org/jira/browse/GERONIMO-2534
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console
> Affects Versions: 1.1.1, 1.2
> Reporter: Vamsavardhana Reddy
> Fix For: 1.x, 2.0-M5
>
> Attachments: SecurityRealmPortlet.patch, selectType.jsp.patch
>
>
> "Add new security realm" function does not check if the realm-name entered by the user is already in use. There are no errors shown in the console, whereas the following error is logged:
> 18:32:12,033 ERROR [ProxyCollection] Listener threw exception
> java.lang.IllegalArgumentException: ConfigurationEntry already registered
> at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.addConfi
> guration(GeronimoLoginConfiguration.java:115)
> at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.memberAd
> ded(GeronimoLoginConfiguration.java:96)
> at org.apache.geronimo.gbean.runtime.ProxyCollection.addTarget(ProxyColl
> ection.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.targetAdde
> d(GBeanCollectionReference.java:96)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.addTarget(
> GBeanCollectionReference.java:180)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference$1.running(
> GBeanCollectionReference.java:110)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:526)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
> at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:526)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
> at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:540)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:374)
> at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:187)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:527)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:508)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
> at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:122)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:817)
> at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$cb9efa2b.startConfiguration(<generated>)
> at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-2534) Security realms portlet should
validate the realm-name for duplicate name
Posted by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2534?page=all ]
Vamsavardhana Reddy updated GERONIMO-2534:
------------------------------------------
Fix Version/s: 1.x
2.0
(was: 1.2)
> Security realms portlet should validate the realm-name for duplicate name
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2534
> URL: http://issues.apache.org/jira/browse/GERONIMO-2534
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console
> Affects Versions: 1.1.1, 1.2
> Reporter: Vamsavardhana Reddy
> Fix For: 1.x, 2.0
>
>
> "Add new security realm" function does not check if the realm-name entered by the user is already in use. There are no errors shown in the console, whereas the following error is logged:
> 18:32:12,033 ERROR [ProxyCollection] Listener threw exception
> java.lang.IllegalArgumentException: ConfigurationEntry already registered
> at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.addConfi
> guration(GeronimoLoginConfiguration.java:115)
> at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.memberAd
> ded(GeronimoLoginConfiguration.java:96)
> at org.apache.geronimo.gbean.runtime.ProxyCollection.addTarget(ProxyColl
> ection.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.targetAdde
> d(GBeanCollectionReference.java:96)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.addTarget(
> GBeanCollectionReference.java:180)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference$1.running(
> GBeanCollectionReference.java:110)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:526)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
> at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:526)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
> at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:540)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:374)
> at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:187)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:527)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:508)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
> at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:122)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:817)
> at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$cb9efa2b.startConfiguration(<generated>)
> at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-2534) Security realms portlet should
validate the realm-name for duplicate name
Posted by "Prasad Kashyap (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasad Kashyap updated GERONIMO-2534:
-------------------------------------
Fix Version/s: (was: 2.0-M5)
2.0
> Security realms portlet should validate the realm-name for duplicate name
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2534
> URL: https://issues.apache.org/jira/browse/GERONIMO-2534
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console
> Affects Versions: 1.1.1, 1.2
> Reporter: Vamsavardhana Reddy
> Fix For: 1.x, 2.0
>
> Attachments: SecurityRealmPortlet.patch, selectType.jsp.patch
>
>
> "Add new security realm" function does not check if the realm-name entered by the user is already in use. There are no errors shown in the console, whereas the following error is logged:
> 18:32:12,033 ERROR [ProxyCollection] Listener threw exception
> java.lang.IllegalArgumentException: ConfigurationEntry already registered
> at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.addConfi
> guration(GeronimoLoginConfiguration.java:115)
> at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.memberAd
> ded(GeronimoLoginConfiguration.java:96)
> at org.apache.geronimo.gbean.runtime.ProxyCollection.addTarget(ProxyColl
> ection.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.targetAdde
> d(GBeanCollectionReference.java:96)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.addTarget(
> GBeanCollectionReference.java:180)
> at org.apache.geronimo.gbean.runtime.GBeanCollectionReference$1.running(
> GBeanCollectionReference.java:110)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:526)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
> at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:526)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
> at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
> at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:173)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:41)
> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:292)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:540)
> at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
> at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:374)
> at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:187)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:527)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:508)
> at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
> at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:122)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:817)
> at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$cb9efa2b.startConfiguration(<generated>)
> at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.