Package org.jnode.nntp.event

Examples of org.jnode.nntp.event.AuthUserEvent


        String user = params.iterator().next();

        String username = StringUtils.substring(user, 0, StringUtils.indexOf(user, "@"));
        String ftnAddress = Converter.convertEmailToFtn(user);

        Notifier.INSTANSE.notify(new AuthUserEvent(new Auth(user, username, ftnAddress)));

        Collection<String> response = Lists.newLinkedList();
        response.add(NntpResponse.AuthInfo.PASSWORD_REQUIRED);
        return response;
    }
View Full Code Here

TOP

Related Classes of org.jnode.nntp.event.AuthUserEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.