-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

unless you force the user to lognin before seeing any products you will
not also have login.
you can change the index.jsp
<%pageContext.forward("control/main");%>
to a new page that just has your login
then that page can redirect to control/main
another way is to
change the
    <request-map uri="checkLogin" edit="false">
        <security https="true" auth="false"/>
to
        <security https="true" auth="true"/>
in the controller.





benni23 sent the following on 3/26/2009 8:01 AM:
> Hi,
> 
> i wonder if there is a standard way of accessing the userLogin value of a
> user logged in into the ecommerce application? I want to restrict the
> visibility of products by customer groups and thus I need to get a hold on
> the userLogin. The problem is that sometimes I find "userLogin" empty
> sometimes not. Sometime "autoUserLogin" does the trick. Isn't there a
> standard way to access this value?
> 
> regards,
> Benni
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJy7WQrP3NbaWWqE4RAsaHAJ0amckM2eljUMjvvTVqBXAbsK8j8QCfb/aV
RRZfokdUDkUoVq0cCriKWO4=
=MOps
-----END PGP SIGNATURE-----

Reply via email to