login-system

Implementing a login system with Auto-desk Forge

六眼飞鱼酱① 提交于 2020-06-01 05:11:29
问题 I am new to autodesk forge and am tasked with creating a website with it. The website must include a login/authentication system and the forge viewer to allow for customers to view their systems. I have set up the forge app which allows users to view their models with NodeJS and deployed it to heroku. This is the link to the tutorial https://github.com/Autodesk-Forge/learn.forge.viewmodels/tree/nodejs I am now trying to link that app/program with a simple login/authentication system but have

How to read a specified String from an input file, then read the next word after it

…衆ロ難τιáo~ 提交于 2019-12-24 03:27:37
问题 In Java I want to be able to have two JTextFields that take in String. One is a username and the other a password. to "login", the program will search through a file --> accounts.txt and will search first for "usrnm:", once it finds it, it takes the word right after the : the same goes for the password but it searches for "pswrd:". Here's what iv'e got so far: public void checkCredentials() { try { BufferedReader br = new BufferedReader(new FileReader(new File("accounts.txt"))); String text =