Skip to main content

[webtier] Re: Login configuration

1 reply [Last post]
Anonymous

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jan Luehe

On 10/ 2/08 08:23 AM, glassfish@javadesktop.org wrote:
> Im trying to configurate a login taking the users from the file realm but I cant authenticate any user. I have this in my web.xml file but doesnt do anything
>
>
> FORM
> file
>
>
/pages/Login.jsp >
/pages/loginError.html >
>

>
> Can someone tell me the steps that I have to follow to configurate the server and a simple example?
>

We have several unit tests that perform FORM authentication in
conjunction with the "file" realm. These tests add a user to the file
realm using "asadmin create-file-user", perform authentication, and
then remove the user from the file realm using "adamin delete-file-user".

See

https://svn.dev.java.net/svn/glassfish-svn/trunk/v2/appserv-tests/devtes...

for details.

Jan

> Thanks in advance.
> [Message sent by forum member 'oleggunnar' (oleggunnar)]
>
> http://forums.java.net/jive/thread.jspa?messageID=302968
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net