Package com.rsa.authagent.authapi

Examples of com.rsa.authagent.authapi.AuthSession


    {
        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

Related Classes of com.rsa.authagent.authapi.AuthSession

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.