cn.home1.oss.lib.security.api.User Maven / Gradle / Ivy
package cn.home1.oss.lib.security.api;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.springframework.security.core.CredentialsContainer;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.Map;
import java.util.Set;
public interface User extends UserDetails, CredentialsContainer {
Set getAuthorities();
String getId();
String getName();
@JsonIgnore
String getType();
@JsonIgnore
Map getProperties();
void enable();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy