Created
March 26, 2021 00:50
-
-
Save gitmatheus/821cf9c044afcdeb898c1011cf76c2bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MySecurityClass { | |
public static Boolean validateCredentials(String username, String password){ | |
if (username == 'admin' && password == 'admin'){ | |
return true; | |
} else { | |
return false; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment