Skip to content

Instantly share code, notes, and snippets.

@gitmatheus
Created March 26, 2021 00:50
Show Gist options
  • Save gitmatheus/821cf9c044afcdeb898c1011cf76c2bc to your computer and use it in GitHub Desktop.
Save gitmatheus/821cf9c044afcdeb898c1011cf76c2bc to your computer and use it in GitHub Desktop.
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