Change essence class to use a new ArrayList for the authorities (list from Arrays.asList() doesn't support add method).
This commit is contained in:
parent
fc8ead3c54
commit
30d878b22e
|
@ -113,7 +113,7 @@ public class LdapUserDetailsImpl implements LdapUserDetails {
|
|||
instance.credentialsNonExpired = copyMe.isCredentialsNonExpired();
|
||||
instance.accountNonLocked = copyMe.isAccountNonLocked();
|
||||
instance.controls = copyMe.getControls();
|
||||
mutableAuthorities = Arrays.asList(copyMe.getAuthorities());
|
||||
mutableAuthorities = new ArrayList(Arrays.asList(copyMe.getAuthorities()));
|
||||
}
|
||||
|
||||
public Essence setDn(String dn) {
|
||||
|
|
Loading…
Reference in New Issue