Package org.netbeans.server.uihandler.api

Examples of org.netbeans.server.uihandler.api.Authenticator


        String userName = params[USER_NAME_IDX];
        String passwd = "";
        if ((params.length > PASSWD_IDX) && (params[PASSWD_IDX] != null)) {
            passwd = params[PASSWD_IDX];
        }
        Authenticator auth = Authenticate.getAuthenticator();
        Authenticator.AuthToken userToken = null;
        if (auth != null) {
            userToken = auth.authenticate(userName, passwd);
            if (userToken == null) {
                params[USER_NAME_IDX] = BugReporter.GUEST_USER;
                params[PASSWD_IDX] = null;
            }
        }
View Full Code Here

TOP

Related Classes of org.netbeans.server.uihandler.api.Authenticator

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.