Skip navigation links
com.paypal.selion.utils

Class AuthenticationHelper

    • Method Detail

      • authenticate

        public static boolean authenticate(String userName,
                                           String userPassword)
        Tries authenticating a given credentials and returns true if the credentials were valid.
        Parameters:
        userName -
        userPassword -
        Returns:
        - true if the credentials were valid.
      • changePassword

        public static boolean changePassword(String userName,
                                             String newPassword)
        Changes the password for the given user to the new password
        Parameters:
        userName -
        newPassword -
        Returns:
        true if the password was successfully changed.

Copyright © 2016 PayPal Open Source. All rights reserved.