|
@@ -48,7 +48,6 @@ public class LdapUserDetailsImpl implements LdapUserDetails {
|
|
//~ Static fields/initializers =====================================================================================
|
|
//~ Static fields/initializers =====================================================================================
|
|
|
|
|
|
private static final GrantedAuthority[] NO_AUTHORITIES = new GrantedAuthority[0];
|
|
private static final GrantedAuthority[] NO_AUTHORITIES = new GrantedAuthority[0];
|
|
- private static final Control[] NO_CONTROLS = new Control[0];
|
|
|
|
|
|
|
|
//~ Instance fields ================================================================================================
|
|
//~ Instance fields ================================================================================================
|
|
|
|
|
|
@@ -57,7 +56,6 @@ public class LdapUserDetailsImpl implements LdapUserDetails {
|
|
private String password;
|
|
private String password;
|
|
private String username;
|
|
private String username;
|
|
private GrantedAuthority[] authorities = NO_AUTHORITIES;
|
|
private GrantedAuthority[] authorities = NO_AUTHORITIES;
|
|
- private Control[] controls = NO_CONTROLS;
|
|
|
|
private boolean accountNonExpired = true;
|
|
private boolean accountNonExpired = true;
|
|
private boolean accountNonLocked = true;
|
|
private boolean accountNonLocked = true;
|
|
private boolean credentialsNonExpired = true;
|
|
private boolean credentialsNonExpired = true;
|
|
@@ -77,10 +75,6 @@ public class LdapUserDetailsImpl implements LdapUserDetails {
|
|
return authorities;
|
|
return authorities;
|
|
}
|
|
}
|
|
|
|
|
|
- public Control[] getControls() {
|
|
|
|
- return controls;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public String getDn() {
|
|
public String getDn() {
|
|
return dn;
|
|
return dn;
|
|
}
|
|
}
|
|
@@ -133,7 +127,6 @@ public class LdapUserDetailsImpl implements LdapUserDetails {
|
|
setAccountNonExpired(copyMe.isAccountNonExpired());
|
|
setAccountNonExpired(copyMe.isAccountNonExpired());
|
|
setCredentialsNonExpired(copyMe.isCredentialsNonExpired());
|
|
setCredentialsNonExpired(copyMe.isCredentialsNonExpired());
|
|
setAccountNonLocked(copyMe.isAccountNonLocked());
|
|
setAccountNonLocked(copyMe.isAccountNonLocked());
|
|
- setControls(copyMe.getControls());
|
|
|
|
setAuthorities(copyMe.getAuthorities());
|
|
setAuthorities(copyMe.getAuthorities());
|
|
}
|
|
}
|
|
|
|
|
|
@@ -193,10 +186,6 @@ public class LdapUserDetailsImpl implements LdapUserDetails {
|
|
mutableAuthorities = new ArrayList(Arrays.asList(authorities));
|
|
mutableAuthorities = new ArrayList(Arrays.asList(authorities));
|
|
}
|
|
}
|
|
|
|
|
|
- public void setControls(Control[] controls) {
|
|
|
|
- instance.controls = controls;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public void setCredentialsNonExpired(boolean credentialsNonExpired) {
|
|
public void setCredentialsNonExpired(boolean credentialsNonExpired) {
|
|
instance.credentialsNonExpired = credentialsNonExpired;
|
|
instance.credentialsNonExpired = credentialsNonExpired;
|
|
}
|
|
}
|