@Override
  public boolean isAccountNonExpired() {
    return true;
  }
AmbariUserDetails is an implementation of {@link AmbariUserDetails}
<p>
Ideally instances of this class are used as the value returned by {@link org.springframework.security.core.Authentication#getPrincipal()}
ambari-server/src/main/java/org/apache/ambari/server/security/authentication/AmbariUserDetailsImpl.java