Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
SSOInfo |
|
| 1.0;1 |
1 | 0 | /** |
2 | * - Digitalis Internal Framework v2.0 - (C) 2008, Digitalis Informatica. | |
3 | * | |
4 | * Distribuicao e Gestao de Informatica, Lda. Estrada de Paco de Arcos num.9 - | |
5 | * Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21 | |
6 | * 4408999 http://www.digitalis.pt | |
7 | */ | |
8 | package pt.digitalis.dif.controller.objects; | |
9 | ||
10 | /** | |
11 | * A SSO class for passing the username and password to auto login. | |
12 | * Is used by custom dispatchers that will implement specific SSOs. | |
13 | * | |
14 | * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a> | |
15 | * | |
16 | */ | |
17 | 0 | public class SSOInfo { |
18 | /** the username */ | |
19 | private String username; | |
20 | ||
21 | /** the password */ | |
22 | private String password; | |
23 | ||
24 | /** the system */ | |
25 | private String system; | |
26 | ||
27 | /** the action */ | |
28 | private SSOActionEnum action; | |
29 | ||
30 | /** | |
31 | * @return the username | |
32 | */ | |
33 | public String getUsername() | |
34 | { | |
35 | 0 | return username; |
36 | } | |
37 | ||
38 | /** | |
39 | * @param username the username to set | |
40 | */ | |
41 | public void setUsername(String username) | |
42 | { | |
43 | 0 | this.username = username; |
44 | 0 | } |
45 | ||
46 | /** | |
47 | * @return the password | |
48 | */ | |
49 | public String getPassword() | |
50 | { | |
51 | 0 | return password; |
52 | } | |
53 | ||
54 | /** | |
55 | * @param password the password to set | |
56 | */ | |
57 | public void setPassword(String password) | |
58 | { | |
59 | 0 | this.password = password; |
60 | 0 | } |
61 | ||
62 | /** | |
63 | * @return the system | |
64 | */ | |
65 | public String getSystem() | |
66 | { | |
67 | 0 | return system; |
68 | } | |
69 | ||
70 | /** | |
71 | * @param system | |
72 | */ | |
73 | public void setSystem(String system) | |
74 | { | |
75 | 0 | this.system = system; |
76 | 0 | } |
77 | /** | |
78 | * @return the system | |
79 | */ | |
80 | public SSOActionEnum getAction() | |
81 | { | |
82 | 0 | return action; |
83 | } | |
84 | ||
85 | /** | |
86 | * @param action | |
87 | */ | |
88 | public void setAction(SSOActionEnum action) | |
89 | { | |
90 | 0 | this.action = action; |
91 | 0 | } |
92 | } |