接口 MutableAuthentication

所有超级接口:
org.springframework.security.core.Authentication, Principal, Serializable

public interface MutableAuthentication extends org.springframework.security.core.Authentication
从以下版本开始:
3.1.1
作者:
应卓
  • 方法详细资料

    • getAuthorities

      @NonNull Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
      指定者:
      getAuthorities 在接口中 org.springframework.security.core.Authentication
    • setAuthorities

      void setAuthorities(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
    • getCredentials

      @Nullable Object getCredentials()
      指定者:
      getCredentials 在接口中 org.springframework.security.core.Authentication
    • setCredentials

      void setCredentials(Object credentials)
    • getDetails

      @Nullable Object getDetails()
      指定者:
      getDetails 在接口中 org.springframework.security.core.Authentication
    • setDetails

      void setDetails(Object details)
    • getPrincipal

      @Nullable Object getPrincipal()
      指定者:
      getPrincipal 在接口中 org.springframework.security.core.Authentication
    • setPrincipal

      void setPrincipal(Object principal)
    • isAuthenticated

      boolean isAuthenticated()
      指定者:
      isAuthenticated 在接口中 org.springframework.security.core.Authentication
    • setAuthenticated

      void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentException
      指定者:
      setAuthenticated 在接口中 org.springframework.security.core.Authentication
      抛出:
      IllegalArgumentException
    • getName

      default String getName()
      指定者:
      getName 在接口中 Principal