springsecurity核心类和接口

public interface Authentication extends Principal, Serializable {
    Collection<? extends GrantedAuthority> getAuthorities();//权限权限集合

    Object getCredentials();//凭据

    Object getDetails();//class org.springframework.security.web.authentication.WebAuthenticationDetails

    Object getPrincipal();//class org.springframework.security.core.userdetails.User

    boolean isAuthenticated();

    void setAuthenticated(boolean var1) throws IllegalArgumentException;
}

 

posted @ 2018-06-05 18:59  chenhonggao  阅读(574)  评论(0)    收藏  举报