Package com.rsa.authagent.authapi

Examples of com.rsa.authagent.authapi.AuthSession.check()


        boolean valid = false;
        try
        {
            AuthSessionFactory api = AuthSessionFactory.getInstance(configPath);
            AuthSession authSession = api.createUserSession();
            int status = authSession.check(username, password);
            authSession.close();
            api.shutdown();
            valid = (status == AuthSession.ACCESS_OK);
        }
        catch (Exception e)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.