users@glassfish.java.net

Re: persistence.xml in ear

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Fri, 15 Jan 2010 07:44:14 +0100

use a @Singleton for global variables... and use default Glassfish
security features to handle the authentication and authorization
during the webflow navigation...

and if you need single sign on, check OpenSSO .................

On Fri, Jan 15, 2010 at 7:41 AM, Arif Sindgi
<arif.sindgi_at_ext.icicibank.com> wrote:
> FYI any help on my query!!
>
>
>
> Dear Sushma,
>
> As briefly discussed today, Property Search Portal (PSP) which is developed
> by one our vendor using Sun Java Glass Fish Server is deployed in our test
> environment. One of the difficulty we are facing is in removal of
> challenge/response.
>
> The various user validation process in PSP Portal is as follows,  some of
> the key user types are: Internet guest user, Internet registered user,
> Intranet bank user
>
> 1) For Internet guest user there is no login required, he can simply type
> url, and continue browsing/searching for properties hosted in the portal
> 2) The Internet registered user would have one entry in User Master table
> with encrypted password stored. The user credential would be validated
> against the row available in User master table.
> 3) The Bank user who's basically carrying the portal admin, master
> maintenance activity is first validated in User Master table followed by
> Global variable which would have stored the domain user id & password during
> the NT login.
>
> The current code of challenge/response removal deployed on test server is
> picking session global variables from host server's domain user id/pw
> instead of picking the client pc's/login page requester pc.
>
> Please suggest how to resolve this issue. For any clarifications, Nikita
> from my team would explain you.
>
> Regards
> Arif Sindgi
>
>
> Felipe Gaścho wrote:
>
> the persistence should be in an EJB or WAR module inside the ERA and
> not in the EAR itself... (what is just a big storage of modules).
>
>
>
> On Thu, Jan 14, 2010 at 11:04 PM, Marina Vatkina <Marina.Vatkina_at_sun.com>
> wrote:
>
>
> Read the JPA spec about valid packaging options. You'll find that META-INF
> directory of an ear is not one of them.
>
> Regards,
> -marina
>
> glassfish_at_javadesktop.org wrote:
>
>
> Hello.
> I am using Glassfish v3 and i am trying declare persistence.xml in ear.
> persistence.xml file it's inside META-INF directory, but glassfish ignored
> it at deploy.
>
> Any suggestion?
>
> Thanks!
> Apology by my poor english.
> [Message sent by forum member 'angelcervera'
> (suscripciones.angel_at_latiendadechivi.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=381026
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
>
>
>
> "Print this mail only if absolutely necessary. Save Paper. Save Trees."
>
> "This e-mail message may contain confidential, proprietary or legally
> privileged information. It should not be used by anyone who is not the
> original intended recipient. If you have erroneously received this message,
> please delete it immediately and notify the sender. The recipient
> acknowledges that ICICI Bank or its subsidiaries and associated companies,
> (collectively "ICICI Group"), are unable to exercise control or ensure or
> guarantee the integrity of/over the contents of the information contained in
> e-mail transmissions and further acknowledges that any views expressed in
> this message are those of the individual sender and no binding nature of the
> message shall be implied or assumed unless the sender does so expressly with
> due authority of ICICI Group. Before opening any attachments please check
> them for viruses and defects."
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net For additional
> commands, e-mail: users-help_at_glassfish.dev.java.net



-- 
------------------------------------------
   Felipe Gaścho
   10+ Java Programmer
   CEJUG Senior Advisor