com.jgcomptech.tools.authc.AuthenticationInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-ultimate-tools Show documentation
Show all versions of java-ultimate-tools Show documentation
A large repository of scripts for use in any Java program.
package com.jgcomptech.tools.authc;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* Interface used for objects that contain Authentication info.
* @since 1.5.0
*/
public interface AuthenticationInfo extends Serializable {
String getUsername();
boolean isLocked();
boolean isPasswordExpired();
LocalDateTime getCreationDate();
LocalDateTime getPasswordExpirationDate();
boolean hasPasswordExpiration();
}