1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.common.util.security; |
17 |
|
|
18 |
|
import org.springframework.security.GrantedAuthority; |
19 |
|
import org.springframework.security.userdetails.User; |
20 |
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 3 |
Complexity Density: 1 |
|
21 |
|
public class UserWithId extends User { |
22 |
|
private static final long serialVersionUID = 1L; |
23 |
|
private String userId; |
24 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
25 |
0
|
public UserWithId(String username, String password, boolean enabled, boolean accountNonExpired,... |
26 |
|
boolean credentialsNonExpired, boolean accountNonLocked, GrantedAuthority[] authorities) |
27 |
|
throws IllegalArgumentException { |
28 |
0
|
super(username, password, enabled, accountNonExpired, credentialsNonExpired, accountNonLocked, authorities); |
29 |
|
} |
30 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
31 |
0
|
public String getUserId() {... |
32 |
0
|
return userId; |
33 |
|
} |
34 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
35 |
0
|
public void setUserId(String userId) {... |
36 |
0
|
this.userId = userId; |
37 |
|
} |
38 |
|
} |