All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.home1.oss.lib.security.api.User Maven / Gradle / Ivy

There is a newer version: 1.0.8.OSS
Show newest version
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