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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user