Advertisement
Guest User

AdminUser

a guest
Apr 21st, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. // /* Spring Security fields*/
  2. // private List<Role> authorities;
  3. // private boolean accountNonExpired = true;
  4. // private boolean accountNonLocked = true;
  5. // private boolean credentialsNonExpired = true;
  6. // private boolean enabled = true;
  7. //
  8. // @Override
  9. // public String getUsername() {
  10. // return username;
  11. // }
  12. //
  13. // public void setUsername(String username) {
  14. // this.username = username;
  15. // }
  16. //
  17. // @Override
  18. // public String getPassword() {
  19. // return password;
  20. // }
  21. //
  22. // public void setPassword(String password) {
  23. // this.password = password;
  24. // }
  25. //
  26. // public String getFirstName() {
  27. // return firstName;
  28. // }
  29. //
  30. // public void setFirstName(String firstName) {
  31. // this.firstName = firstName;
  32. // }
  33. //
  34. // public String getLastName() {
  35. // return lastName;
  36. // }
  37. //
  38. // public void setLastName(String lastName) {
  39. // this.lastName = lastName;
  40. // }
  41. //
  42. // public String getEmail() {
  43. // return email;
  44. // }
  45. //
  46. // public void setEmail(String email) {
  47. // this.email = email;
  48. // }
  49. //
  50. // @Override
  51. // public Collection<? extends GrantedAuthority> getAuthorities() {
  52. // return this.authorities;
  53. // }
  54. //
  55. // public void setAuthorities(List<Role> authorities) {
  56. // this.authorities = authorities;
  57. // }
  58. //
  59. // @Override
  60. // public boolean isAccountNonExpired() {
  61. // return this.accountNonExpired;
  62. // }
  63. //
  64. // public void setAccountNonExpired(boolean accountNonExpired) {
  65. // this.accountNonExpired = accountNonExpired;
  66. // }
  67. //
  68. // @Override
  69. // public boolean isAccountNonLocked() {
  70. // return this.accountNonLocked;
  71. // }
  72. //
  73. // public void setAccountNonLocked(boolean accountNonLocked) {
  74. // this.accountNonLocked = accountNonLocked;
  75. // }
  76. //
  77. // @Override
  78. // public boolean isCredentialsNonExpired() {
  79. // return this.credentialsNonExpired;
  80. // }
  81. //
  82. // public void setCredentialsNonExpired(boolean credentialsNonExpired) {
  83. // this.credentialsNonExpired = credentialsNonExpired;
  84. // }
  85. //
  86. // @Override
  87. // public boolean isEnabled() {
  88. // return this.enabled;
  89. // }
  90. //
  91. // public void setEnabled(boolean enabled) {
  92. // this.enabled = enabled;
  93. // }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement