/magstudentportal/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/magstudentportal/trunk
18 by Gustav Hartvigsson
* Added vim modelines
1
/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil
2
 * vi: set shiftwidth=2 tabstop=2 expandtab:
3
 * :indentSize=2:tabSize=2:noTabs=true:
4
 */
5
15.1.7 by Gustav Hartvigsson
* added a few things that will help with development
6
package beans;
7
15.2.2 by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml.
8
import javax.faces.bean.*;
18 by Gustav Hartvigsson
* Added vim modelines
9
10
import common.*;
15.2.7 by Gustav Hartvigsson
* Started work on design
11
15.1.7 by Gustav Hartvigsson
* added a few things that will help with development
12
15.2.2 by Gustav Hartvigsson
* Added JUnit and javax.faces dependancies to the pom.xml.
13
@ManagedBean
15.1.7 by Gustav Hartvigsson
* added a few things that will help with development
14
@SessionScoped
15
public class
16
LoginBean {
15.2.7 by Gustav Hartvigsson
* Started work on design
17
  private boolean
18 by Gustav Hartvigsson
* Added vim modelines
18
    is_logged_in = false;
15.2.7 by Gustav Hartvigsson
* Started work on design
19
20
  private UserTypeEnum
18 by Gustav Hartvigsson
* Added vim modelines
21
    user_type = UserTypeEnum.NONE;
15.2.7 by Gustav Hartvigsson
* Started work on design
22
23
24
  /****************************************************************************/
25
26
  public void
18 by Gustav Hartvigsson
* Added vim modelines
27
  studentLogin (String user_name, String password) {
28
15.2.7 by Gustav Hartvigsson
* Started work on design
29
  }
30
31
  public void
18 by Gustav Hartvigsson
* Added vim modelines
32
  staffLogin (String user_name, String password) {
33
15.2.7 by Gustav Hartvigsson
* Started work on design
34
  }
15.1.7 by Gustav Hartvigsson
* added a few things that will help with development
35
}