Security addon in Forge
by Ivan St. Ivanov
Hi folks,
I wanted to add a new addon to Forge that handles the Java EE security
topics:
- Add constraints to some resources
- Setup authentication mechanism (form, basic, digest, etc.)
- Assign realm to security constraints
- Create security roles
- If the realm is JDBC and JPA facet is installed, add an entity along with
some named queries
I looked in the Forge JIRA whether there is something like that and I found
this issue created almost a year and a half ago:
https://issues.jboss.org/browse/FORGEPLUGINS-152
I read in the description though, that the addon should be also able to
setup groups and users inside a realm. Isn't that too server specific if
the realm is not JDBC? Maybe we could continue the communication in the
issue, so whoever is interested my add themselves as a watcher there?
Cheers,
Ivan
9 years, 11 months
Getting lost in UICommands class hierarchy
by Antonio Goncalves
Hi all,
I'm trying to add more commands in Forge... but I have to say, I'm a bit
lost. So, I've made a quick UML class diagram.
As you can see in the attached diagram (UIForge.png), most of the Java EE
commands extend AbstractJavaEECommand, which makes sense. But not all of
them (NewBeanCommand (CDI), ValidationNewAnnotationCommandImpl,
NewQualifierCommand....). And some times you have an extra level of
abstraction (AbstractFacesCommand). Same for the Java commands.
JavaClassCommandImpl extend AbstractJavaSourceCommand but
JavaAddAnnotationCommand and JavaFieldCommand inherit from
AbstractProjectCommand.
Then, when you dive into a command (UIForgeStructure.pgn), some commands
use interface and implementation (see in the second
diagram JavaAddAnnotationCommandImpl
implementing JavaAddAnnotationCommand), some don't
(e.g. NewQualifierCommand). Is there a reason ?
Correct me if I'm wrong, but the way I see it would be (HowIseeIt.png) :
under AbstractJavaEECommand you have a set
of AbstractValidationCommand, AbstractCDICommand, AbstractJPACommand....
each implementing PrerequisiteCommandsProvider (this way, each command sets
up its own pre-requisite). And then, under AbstractCDICommand you have all
the NewQualifierCommand, NewBeanCommand....
What do you think ? Am I the only one getting a little bit lost ;o)
What do you think of re-structuring the class hierarchy ?
--
Antonio Goncalves
Software architect and Java Champion
Web site <http://www.antoniogoncalves.org/> | Twitter
<http://twitter.com/agoncal> | LinkedIn <http://www.linkedin.com/in/agoncal>
| Paris JUG <http://www.parisjug.org/> | Devoxx France
<http://www.devoxx.fr/>
10 years, 1 month
Forge Meeting Minutes - 2014-10-29
by Lincoln Baxter, III
Minutes:
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge.20...
Minutes (text):
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge.20...
Log:
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge.20...
Meeting summary
---------------
* Agenda (lincolnthree, 15:10:47)
* Status reports (lincolnthree, 15:13:58)
* Last week I worked on some evangelization, and trying to work with
the Netbeans guys and a few other teams to get forge promoted into
some other technologies (lincolnthree, 15:14:31)
* Gave a talk on CDI using Forge last week in a JUG... doing the same
next week in another JUG (agoncal, 15:17:53)
* gastaldi is working in the Forge 2 NetBeans plugin (gastaldi,
15:18:12)
* Working on the Hands on Lab for Devoxx BE (agoncal, 15:18:55)
* HoL Devoxx BE (lincolnthree, 15:19:51)
* Refactoring UI Commands (lincolnthree, 15:28:26)
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
10 years, 1 month
IntelliJ plugin build
by Daniel Cunha
Hiho Folks,
I try create intellij dependency, but I had a problem:
My shell:
08:36:57 (master) ~/Tools/workspace/intellij-idea-plugin$ echo $SHELL
/bin/bash
I try did that:
08:37:01 (master) ~/Tools/workspace/intellij-idea-plugin$
./install-intellij-libs.sh 13.1.5 ~/Tools/idea-IU-135.1230/
Installing IntelliJ artifacts to Maven local repository
IntelliJ home: /home/soro/Tools/idea-IU-135.1230/
./install-intellij-libs.sh: 26: ./install-intellij-libs.sh: Syntax error:
"(" unexpected (expecting "done")
But that mode, work well:
08:50:47 (master) ~/Tools/workspace/intellij-idea-plugin$ bash
install-intellij-libs.sh 13.1.5 ~/Tools/idea-IU-135.1230/
Some idea about it?
--
Daniel Cunha (soro) <http://www.cejug.net>
Blog: http://www.danielsoro.com.br
Twitter: https://twitter.com/dvlc_
GitHub: https://github.com/danielsoro
LinkedIn: http://www.linkedin.com/in/danielvlcunha
10 years, 1 month
Install Forge from CURL (FORGE-1896)
by Devanshu Singh
Hello!
I’ve been working on the Issue:Install Forge from CURL
(https://issues.jboss.org/browse/FORGE-1896)
While writing the script I found that the installer extracts to the name
:”forge-distribution-2.12.1.Final”. Meanwhile reading the installation
documents on the forge website(http://forge.jboss.org/document/installation),
I found that the install location suggested is “~/forge/“ (maintaining the
bin folder directly inside this).
Should I rename the extracted zip archive to “forge” inside the script ? or
should I modify the path variable?
Please correct me if I am wrong anywhere or if there is an alternate way to
handle this. (This is my first outing with open source!).
Devanshu
10 years, 2 months