at architecture avoid us (the
application programmers use the api of authentication in order to use these
type of methods) because of these jar are in server/lib folder
how you can see I'm very frustrated with this,
ok this is J2EE?
this is simple?
kindest regards
2006/1/30, Luis Gerva
Hello
I need how to put subject information returned of lc.login() in webapp
context
int order to invoke getUserPrincipal and not retur null
LoginServlet.java
protected void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
String username =
the real problem is in next sections we need to call secured ejbs
2006/1/27, Luis Gervaso <[EMAIL PROTECTED]>:
>
> yes
>
> i need to store information about only for authenticated users
>
> the scenario is:
>
> 1. anonymous request a secured resource
>
> 2. we
ND
>
> -Original Message-
> From: Luis Gervaso [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 27, 2006 1:00 PM
> To: Tomcat Users List
> Subject: Re: Application sign-in
>
> I need to call database only whe user login with j_security_check
>
> It's is
ner and implement the
> method sessionCreated(), where you can add objects to HttpSession.
> Please refer to the javadoc of javax.servlet.http.HttpSessionListener
> API for more details.
>
> ND
>
> -----Original Message-
> From: Luis Gervaso [mailto:[EMAIL PROTECTED]
>
Hello,
I need help about making this...
when an user login using form-based authentication i need retrieve a user
objet from database and
store it in his httpsession
regards
Hello all,
I am developing a login module for a webapp,
Until now for me was sufficient with default tomcat login form
j_security_check + j_username + j_password
but now I need one more item in the authentication challenge
this is the countryId because a user can belong many countries :)
so now