Heiko Gottschling wrote:
> is there _any_ information on how to do this? I've searched the JBoss site
> (including the mail archive) and didn't find anything about it :-( 
If you are going to use DatabaseServerLoginModule, you need to have
a table in your database containing user login names and passwords.
Once you have it, open conf/default/auth.conf in your editor and
follow the instructions :-)
You should comment or remove all default login module declarations
except DatabaseServerLoginModule, which should be uncommented,
and adjust its parameters: DB JNDI name, the name of the table
containing users/passwords, the name of the column containing user
login names, the name of the column containing passwords.
Now fill the table by the data and enjoy dynamic security management
:-)
Alternatively you may write your own server login module which gets
the information from any other source.
Alternatively you may modify JaasServerLoginModule and make it reread
configuration files users.properties and roles.properties on each
call.
If you need database-based role mapping, you should write an
additional server login module by yourself (note that it can be used
together with DatabaseServerLoginModule). There is no such module in
JBoss, because IMHO database structures representing role mapping
highly varies in different projects.

Regards,
 Oleg

>> Hi Heiko,
>>
>> It depends upon security manager that you use.
>> Say, with the simple file based JaasServerLoginModule it's impossible,
>> while with DatabaseServerLoginModule it's possible.
>>
>> Regards,
>>  Oleg
>>
>> On Sunday 14 January 2001 21:40, Heiko Gottschling wrote:
>> > Hi,
>> >
>> > in JBoss, is there a way of adding user accounts dynamically (i.e.
>> > setting up accounts at runtime with username/password which can be
>> > authenticated by the security framework)?
>> >
>> > thx
>> > Heiko


> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to