[JBoss JIRA] (FORGE-843) ClassCastException when the same addon is deployed in multiple configured repositories
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-843?page=com.atlassian.jira.plugin.... ]
George Gastaldi commented on FORGE-843:
---------------------------------------
{code}
Caused by: java.lang.ClassCastException: org.jboss.forge.container.addons.AddonId_$$_javassist_25 cannot be cast to org.jboss.forge.container.addons.AddonId
{code}
Steps to reproduce:
- Remove the "addons" addon from the pom.xml in org.jboss.tools.forge2.runtime pom.xml
- mvn clean install it
- in the Forge cmd line, run ./forge --install addons
- open the eclipse plugin and choose "Remove Addons"
- select a couple of addons, click finish and you'll see this error in the console
> ClassCastException when the same addon is deployed in multiple configured repositories
> --------------------------------------------------------------------------------------
>
> Key: FORGE-843
> URL: https://issues.jboss.org/browse/FORGE-843
> Project: Forge
> Issue Type: Bug
> Components: Container
> Affects Versions: 2.0.0.Alpha2
> Reporter: George Gastaldi
> Assignee: Lincoln Baxter III
> Priority: Blocker
> Fix For: 2.0.0.Alpha3
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGEPLUGINS-112) generate-entities scans SYS schema, when not specified
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-112?page=com.atlassian.jira.... ]
George Gastaldi updated FORGEPLUGINS-112:
-----------------------------------------
Description:
While trying to reverse engineer any DB, get the below error.
{code}
$ generate-entities --url "jdbc:oracle:thin:@localhost:1521:XE" --user EAS --password EAS --dialect "org.hibernate.dialect.OracleDialect" --driver "oracle.jdbc.OracleDriver" --pathToDriver "C:\work\EWMP\FOS_WS\lib\ojdbc14.jar" --table "TASKDATA"
? In which package you'd like to generate the entities, or enter for default: [com.bt.wa.model]
org.hibernate.cfg.JDBCBinderException: Duplicate class name 'com.bt.wa.model.AllFileGroups' generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'. Same name where generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'
***ERROR*** An unexpected error happened during reverse engineering.
at org.hibernate.cfg.JDBCBinder.createPersistentClasses(JDBCBinder.java:173)
at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:94)
at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:43)
at org.hibernate.forge.generate.GenerateEntitiesPlugin$1.run(GenerateEntitiesPlugin.java:179)
at org.hibernate.forge.common.UrlClassLoaderExecutor.execute(UrlClassLoaderExecutor.java:13)
at org.hibernate.forge.generate.GenerateEntitiesPlugin.doReverseEngineering(GenerateEntitiesPlugin.java:171)
at org.hibernate.forge.generate.GenerateEntitiesPlugin.generateEntities(GenerateEntitiesPlugin.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.forge.shell.command.Execution.perform(Execution.java:134)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:818)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:841)
at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:631)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)
at java.lang.Thread.run(Unknown Source)
{code}
was:
While trying to reverse engineer any DB, get the below error.
$ generate-entities --url "jdbc:oracle:thin:@localhost:1521:XE" --user EAS --password EAS --dialect "org.hibernate.dialect.OracleDialect" --driver "oracle.jdbc.OracleDriver" --pathToDriver "C:\work\EWMP\FOS_WS\lib\ojdbc14.jar" --table "TASKDATA"
? In which package you'd like to generate the entities, or enter for default: [com.bt.wa.model]
org.hibernate.cfg.JDBCBinderException: Duplicate class name 'com.bt.wa.model.AllFileGroups' generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'. Same name where generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'
***ERROR*** An unexpected error happened during reverse engineering.
at org.hibernate.cfg.JDBCBinder.createPersistentClasses(JDBCBinder.java:173)
at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:94)
at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:43)
at org.hibernate.forge.generate.GenerateEntitiesPlugin$1.run(GenerateEntitiesPlugin.java:179)
at org.hibernate.forge.common.UrlClassLoaderExecutor.execute(UrlClassLoaderExecutor.java:13)
at org.hibernate.forge.generate.GenerateEntitiesPlugin.doReverseEngineering(GenerateEntitiesPlugin.java:171)
at org.hibernate.forge.generate.GenerateEntitiesPlugin.generateEntities(GenerateEntitiesPlugin.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.forge.shell.command.Execution.perform(Execution.java:134)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:818)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:841)
at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:631)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)
at java.lang.Thread.run(Unknown Source)
Component/s: Hibernate Tools Plugin
> generate-entities scans SYS schema, when not specified
> ------------------------------------------------------
>
> Key: FORGEPLUGINS-112
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-112
> Project: Forge Plugins
> Issue Type: Bug
> Components: Hibernate Tools Plugin
> Environment: Eclipse Juno, JBoss Forge, version [ 1.1.2.Final ] + Hibernate tools
> Reporter: Shashank Bezgoan
> Priority: Critical
> Labels: generate-entities
>
> While trying to reverse engineer any DB, get the below error.
> {code}
> $ generate-entities --url "jdbc:oracle:thin:@localhost:1521:XE" --user EAS --password EAS --dialect "org.hibernate.dialect.OracleDialect" --driver "oracle.jdbc.OracleDriver" --pathToDriver "C:\work\EWMP\FOS_WS\lib\ojdbc14.jar" --table "TASKDATA"
> ? In which package you'd like to generate the entities, or enter for default: [com.bt.wa.model]
> org.hibernate.cfg.JDBCBinderException: Duplicate class name 'com.bt.wa.model.AllFileGroups' generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'. Same name where generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'
> ***ERROR*** An unexpected error happened during reverse engineering.
> at org.hibernate.cfg.JDBCBinder.createPersistentClasses(JDBCBinder.java:173)
> at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:94)
> at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:43)
> at org.hibernate.forge.generate.GenerateEntitiesPlugin$1.run(GenerateEntitiesPlugin.java:179)
> at org.hibernate.forge.common.UrlClassLoaderExecutor.execute(UrlClassLoaderExecutor.java:13)
> at org.hibernate.forge.generate.GenerateEntitiesPlugin.doReverseEngineering(GenerateEntitiesPlugin.java:171)
> at org.hibernate.forge.generate.GenerateEntitiesPlugin.generateEntities(GenerateEntitiesPlugin.java:78)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.jboss.forge.shell.command.Execution.perform(Execution.java:134)
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
> at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:818)
> at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:841)
> at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:631)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
> at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
> at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
> at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
> at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
> at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)
> at java.lang.Thread.run(Unknown Source)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGEPLUGINS-112) generate-entities scans SYS schema, when not specified
by Shashank Bezgoan (JIRA)
Shashank Bezgoan created FORGEPLUGINS-112:
---------------------------------------------
Summary: generate-entities scans SYS schema, when not specified
Key: FORGEPLUGINS-112
URL: https://issues.jboss.org/browse/FORGEPLUGINS-112
Project: Forge Plugins
Issue Type: Bug
Environment: Eclipse Juno, JBoss Forge, version [ 1.1.2.Final ] + Hibernate tools
Reporter: Shashank Bezgoan
Priority: Critical
While trying to reverse engineer any DB, get the below error.
$ generate-entities --url "jdbc:oracle:thin:@localhost:1521:XE" --user EAS --password EAS --dialect "org.hibernate.dialect.OracleDialect" --driver "oracle.jdbc.OracleDriver" --pathToDriver "C:\work\EWMP\FOS_WS\lib\ojdbc14.jar" --table "TASKDATA"
? In which package you'd like to generate the entities, or enter for default: [com.bt.wa.model]
org.hibernate.cfg.JDBCBinderException: Duplicate class name 'com.bt.wa.model.AllFileGroups' generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'. Same name where generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'
***ERROR*** An unexpected error happened during reverse engineering.
at org.hibernate.cfg.JDBCBinder.createPersistentClasses(JDBCBinder.java:173)
at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:94)
at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:43)
at org.hibernate.forge.generate.GenerateEntitiesPlugin$1.run(GenerateEntitiesPlugin.java:179)
at org.hibernate.forge.common.UrlClassLoaderExecutor.execute(UrlClassLoaderExecutor.java:13)
at org.hibernate.forge.generate.GenerateEntitiesPlugin.doReverseEngineering(GenerateEntitiesPlugin.java:171)
at org.hibernate.forge.generate.GenerateEntitiesPlugin.generateEntities(GenerateEntitiesPlugin.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.forge.shell.command.Execution.perform(Execution.java:134)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:818)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:841)
at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:631)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)
at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-821) Plugin to secure application
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-821?page=com.atlassian.jira.plugin.... ]
Vineet Reynolds commented on FORGE-821:
---------------------------------------
This is primarily a Java EE plugin. Salient notes from the discussion on #forge:
* The plugin should enable Java EE's default security mechanism.
* Providers or other plugins would enable the mechanisms for other security frameworks.
Example use cases would involve:
* {{$ realm setup-groups foo bar}}, or {{$ realm setup-users foo bar}}, {{$ realm setup-roles foo bar}} etc. to setup a security realm
* {{$ cas with-roles foo bar on com.acme.services.ExampleService.service}}
* {{$ web-constraint on /xyz/* for foo bar}}
Note - the above use cases need not be adhered to, in this plugin or in the others. They're a general suggestion.
I'd prefer that a {{ScaffoldProvider}} not apply/generate security constraints on the generated scaffold, until it is known that the provider should do so. That is, unless the {{ScaffoldProvider}} is aware that a certain part of the generated scaffold should be protected, it shouldn't do so by default. For example, if a generated scaffold contains a login page and also have role-based-security, then the scaffold provider may generated appropriate security constraints.
> Plugin to secure application
> ----------------------------
>
> Key: FORGE-821
> URL: https://issues.jboss.org/browse/FORGE-821
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins, Java EE APIs
> Affects Versions: 1.2.2.Final
> Reporter: George Gastaldi
> Labels: starter
> Fix For: 1.2.4.Final
>
>
> The plugin should primarily:
> - Add a <security-constraint> entry to the web.xml file.
> - Introduce a SecurityFacet for interoperability with other plugins
> - The ScaffoldPlugin could create entries for the login and login-error pages if the SecurityFacet is enabled in the current project
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-821) Plugin to secure application
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-821?page=com.atlassian.jira.plugin.... ]
Vineet Reynolds updated FORGE-821:
----------------------------------
Component/s: Java EE APIs
> Plugin to secure application
> ----------------------------
>
> Key: FORGE-821
> URL: https://issues.jboss.org/browse/FORGE-821
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins, Java EE APIs
> Affects Versions: 1.2.2.Final
> Reporter: George Gastaldi
> Labels: starter
> Fix For: 1.2.4.Final
>
>
> The plugin should primarily:
> - Add a <security-constraint> entry to the web.xml file.
> - Introduce a SecurityFacet for interoperability with other plugins
> - The ScaffoldPlugin could create entries for the login and login-error pages if the SecurityFacet is enabled in the current project
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGEPLUGINS-111) Create a Descriptors plugin
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-111?page=com.atlassian.jira.... ]
Vineet Reynolds commented on FORGEPLUGINS-111:
----------------------------------------------
This would allow for removal of one of the git patches in the TicketMonster app. The patch removes a welcome-file entry, when applied on the TicketMonster codebase.
Implementing this plugin to allow for manipulation of such descriptors would do away with this patch, and instead allow a Forge command to implement it instead.
> Create a Descriptors plugin
> ---------------------------
>
> Key: FORGEPLUGINS-111
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-111
> Project: Forge Plugins
> Issue Type: Feature Request
> Reporter: Vineet Reynolds
>
> Create a Descriptors plugin that allows for modification or generator of component and deployment descriptor files.
> For e.g., this plugin should allow for creation or modification of web.xml file and it's constituent entries. Think of this plugin as a CLI based front-end for the ShrinkWrap Descriptors project.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGEPLUGINS-111) Create a Descriptors plugin
by Vineet Reynolds (JIRA)
Vineet Reynolds created FORGEPLUGINS-111:
--------------------------------------------
Summary: Create a Descriptors plugin
Key: FORGEPLUGINS-111
URL: https://issues.jboss.org/browse/FORGEPLUGINS-111
Project: Forge Plugins
Issue Type: Feature Request
Reporter: Vineet Reynolds
Create a Descriptors plugin that allows for modification or generator of component and deployment descriptor files.
For e.g., this plugin should allow for creation or modification of web.xml file and it's constituent entries. Think of this plugin as a CLI based front-end for the ShrinkWrap Descriptors project.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months