Hi all,
in my application I had to write a custom DatabaseServerLoginModule
that associated roles to user after the user had specified

- login
- password
- product

(for different 'products' users may have different roles associated).

The problem is the following:

in a FIRST PHASE my application asks the user to specify
ONLY login and password and in a SECOND PHASE
application can ask the product under which the user wants to work.

I can't change this sequence !

I have 3 questions:

1) Must I use DatabaseServerLoginModule for 'phase 1'
and the CustomDatabaseServerLoginModule for 'phase 2' ?

2) Is possible to perform the authentication process in two
distinct phases ? (it sounds strange to me, because after
'phase 1' JBoss will associate some roles to user that 
couldn't be the right ones after 'phase 2').

After authentication I can have users with the same role but
with different permissions.
The difference depends from a lot of variables.

3) In this case the only way to distinguish users is a programmatic
way ?

Many thanks in advance
Moreno



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837733#3837733

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837733


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to