For the client code in Edwards example he supplied an internal class
inside his cilent
that was used as the second parameter to the LoginContext. It was called 
AppCallbackHandler and it implements callbackHandler. 

I've looked through the api docs for jboss and for j2sdkee but I can't
find
LoginContext or CallbackHander.




Oleg Nitz wrote:
> 
> Hi Doug,
> 
> On Saturday 20 January 2001 01:50, dferugson wrote:
> > So, did the SimpleServerLogin get reploced?
> In CVS version (PRE-2.1)
>   org.jboss.security.plugins.security.SimpleServerLoginModule
> Also Edward's server login module
>   org.jboss.security.plugins.security.JaasServerLoginModule
> has been added and is set as a default in conf/default/auth.conf,
> see comments there.
> 
> > If so is it in 2.0 or 2.1?
> In both, but in different places.
> 
> > Also, how would this change using JAAS.
> 
> > I'm assuming that
> > 1) There is no need to edit the jboss.conf
> Yes.
> 
> > 2) There is no need to write to custom Module and therefore no need
> > to edit auth.conf
> Yes, if I understand correctly your question.
> 
> > 3) If  I need to edit the auth.conf what is the new name of the
> > class?
> All server login module names that are included in JBoss
> distribution, are mentioned  in auth.conf, just read comments there.
> 
> > 4) Where do I place the user.properties & roles.properties?
> They are already in conf/default, if you use CVS version.
> 
> > I am assuming that the client code would remain the same. The
> > internal class etc.
> > Wouldn't it be good to include this type of internall class to the
> > jboss-client.jar?
> I am not sure what you mean by internal class. JBoss client login
> module is in jboss-client.jar.
> 
> > Is there any reason not to use
> > System.setProperty rather than java -D to set
> > java.security.auth.login.config
> I don't know any reasons for that.
> 
> Regards,
>  Oleg
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]

-- 
Doug Ferguson
Software Developer
www.coremetrics.com
512-342-2623x212
512-619-9972(cell)


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

Reply via email to