Requireing a profile

Kevin Kress <[email protected]> 04 Aug 2002 17:20:46 -0700
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <1028506847.19515.7.camel@quark>
In the SASL profile (or possibly a TLS) what is the mechanism used to
send out "530" errors if the server wants to require authentication. 

For example, when a server starts up, it registers both, SASL/ANONYMOUS
and ECHO... the desired result being that until the SASL/ANONYMOUS has
set credentials in the Session, all other startChannel messages (in this
case ECHO) will return with a <error code='530'> . 

If this is not done yet, where might it fit best?  A function of Session
for the error sending?  Possibly ProfileRegistry for initial setup or
TCPSessionCreator to setup the required auth?

thoughts? 

--Kevin Kress 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf