atom feed3 messages in net.java.dev.glassfish.usersRe: difference between LoginModule an...
FromSent OnAttachments
glas...@javadesktop.orgOct 30, 2009 11:34 am 
glas...@javadesktop.orgOct 30, 2009 12:04 pm 
glas...@javadesktop.orgOct 31, 2009 1:18 am 
Subject:Re: difference between LoginModule and Realm
From:glas...@javadesktop.org (glas@javadesktop.org)
Date:Oct 30, 2009 12:04:52 pm
List:net.java.dev.glassfish.users

Hi, I'm totally confused with Glassfish's term Realm. I know the purpose of LoginModule and how to implement it, but what is Realm and why do we need it?

I think the realm specifies the credential source. Ie. if it's an LDAP
directory, then what server is it on, etc.; or if it's a database, what table
should it look in. Whereas the login module is how the application interacts
with the user to collect the credentials. [Message sent by forum member 'bleathem' (blea@triumf.ca)]

http://forums.java.net/jive/thread.jspa?messageID=369998