View Javadoc

1   /**
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  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          return username;
36      }
37  
38      /**
39       * @param username the username to set
40       */
41      public void setUsername(String username)
42      {
43          this.username = username;
44      }
45  
46      /**
47       * @return the password
48       */
49      public String getPassword()
50      {
51          return password;
52      }
53  
54      /**
55       * @param password the password to set
56       */
57      public void setPassword(String password)
58      {
59          this.password = password;
60      }
61  
62      /**
63       * @return the system
64       */
65      public String getSystem()
66      {
67          return system;
68      }
69  
70      /**
71       * @param system
72       */
73      public void setSystem(String system)
74      {
75          this.system = system;
76      }
77      /**
78       * @return the system
79       */
80      public SSOActionEnum getAction()
81      {
82          return action;
83      }
84  
85      /**
86       * @param action
87       */
88      public void setAction(SSOActionEnum action)
89      {
90          this.action = action;
91      }
92  }